I have created a HTML and corresponding .js files seperately.
Now, what I require is to load them in my existing angular project, so that for example, I can open the new HTML and .js as:
localhost:portnumber/HTML file name - or something similar
I have learned over internet to mention the js file in angular.json, but what about the html file ? How do I load it? Can someone please help?
我已经通过在 angular.json 中添加 glob 来解决它 - 以防万一有人需要以供将来参考。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.