我已经使用angular 2 CLI生成了一个angular 2应用程序。
index.html文件中的内容如下所示:
{{#each scripts.polyfills}}
<script src="Application/{{.}}"></script>
{{/each}}当使用命令'ng build‘构建应用程序时,index.html的输出为:
<script src="Application/vendor/scripts1.js"></script>
<script src="Application/vendor/scripts2.js"></script>
<script src="Application/vendor/scripts3.js"></script>现在我问你,#每个来自什么语言/库的符号在哪里?
和
其中是在我的命令行界面创建的angular 2应用程序中定义的scripts.polyfills对象。
我在任何地方都找不到任何名为“scripts”的文件夹/变量。
https://stackoverflow.com/questions/38290703
复制相似问题