4
각도 2 CLI로 각도 2 어플리케이션을 생성했습니다. index.html 파일에서 # 각 scripts.polyfills의 출처는 누구입니까?
는 물건 같은 : 이제<script src="Application/vendor/scripts1.js"></script>
<script src="Application/vendor/scripts2.js"></script>
<script src="Application/vendor/scripts3.js"></script>
: 응용 프로그램이 CLI 명령 'NG 빌드'index.html을의 출력은 빌드입니다
{{#each scripts.polyfills}}
<script src="Application/{{.}}"></script>
{{/each}}
나는 당신에게 어디에 있는지 물어 봅니다. 각 언어/라이브러리를 의미합니다.
과 scripts.polyfills가 각 2 응용 프로그램을 만들어 내 CLI에 정의 된 개체입니다
.'scripts'라는 이름으로 폴더/변수를 찾을 수 없습니다.
방금 angular2-toaster를 가져 오려고했습니다. 그것은 404 오류를 던지고있다. angle2-toaster.js 인 index.js를 얻으려고 시도하는 것이 이상합니다. http : // localhost : 4200/vendor/angular2-toaster/index.js – Tun