[英]angular2 uncaught ReferenceError require is not defined “boot.ts”
I followed the Angular2 Quick Start closely and cannot get it to work. 我密切关注了Angular2快速入门,无法正常使用。
Any advice? 有什么建议吗?
I get Uncaught TypeError: Cannot read property 'split' of undefined 我收到Uncaught TypeError:无法读取未定义的属性“ split”
Followed by this against my boot.js file. 其次是针对我的boot.js文件。 Uncaught ReferenceError: require is not defined
未捕获的ReferenceError:require未定义
Here is my code. 这是我的代码。 https://github.com/robertdunaway/katas-angular2/tree/master/temp/after/src/vs2015-TS
https://github.com/robertdunaway/katas-angular2/tree/master/temp/after/src/vs2015-TS
Thanks, Bob 谢谢,鲍勃
<script src="../lib/angular2/bundles/upgrade.dev.js"></script>
添加到您index.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.