Can native < template > elements be placed in an external file and called with methods similar to those introduced by import and require?

MDN"s tamplate document is not described, but Mini Program can introduce components by import. How can it be implemented if it is native?

Dec.20,2021
Menu