【问题标题】:ng2-bootstrap Uncaught ReferenceError when adding the script添加脚本时ng2-bootstrap未捕获的ReferenceError
【发布时间】:2016-04-14 13:07:40
【问题描述】:

我正在尝试将 ng2-bootstrap 添加到我的项目中。我尝试添加脚本,添加 CDN。但我总是遇到同样的错误:

ng2-bootstrap.js:1 Uncaught ReferenceError: System is not defined ng2-bootstrap.js:1

我看到其他人也有同样的错误,但还没有答案。

【问题讨论】:

    标签: javascript angularjs angular ng2-bootstrap


    【解决方案1】:

    我发现你的项目中需要有system.js:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-05-21
      • 1970-01-01
      • 2014-11-04
      • 2021-08-20
      • 1970-01-01
      • 2016-11-10
      • 1970-01-01
      • 2015-08-15
      相关资源
      最近更新 更多