我已经使用angular 2 CLI生成了一个angular 2应用程序。
在index.html文件中有一些内容:
当使用CLI命令“ng build”构建应用程序时,index.html的输出如下:
在index.html文件中有一些内容:
{{#each scripts.polyfills}}
<script src="Application/{{.}}"></script>
{{/each}}
当使用CLI命令“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>
现在我问你,#each是哪种语言/库?
还有,在我的CLI创建的Angular 2应用程序中,scripts.polyfills对象定义在哪里。
我无法在任何地方找到名称为“scripts”的文件夹/变量。