[英]How to import the same file two times in a row in html and typescript?
[英]How to import html file in typescript?
有沒有什么方法可以通過不使用 require 來在打字稿中導入 HTML 文件。 從 '../templates/abc.html' 導入 abc; -- 這不是加載我的 html
從“template.html”導入 * 作為模板;
@成分({
選擇器:'家',
指令:[RouterLink],
模板:模板 })
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.