我可以在没有 nodejs 的情况下使用 Angularjs2 (ES6) 吗?

Can I use Angularjs2 (ES6) without nodejs?

是否可以在没有 node.js 的情况下使用 Angular.js2 (ES6)?我在冬天用 Angular.js1 做了试验页面,效果很好。现在我们有 'go' 来自管理层的 Angular.js 项目实施,ES6 的 Angular.js2 已经出现。保证IIS是我们唯一的选择,不会用nodejs。

是的,angular 和节点是正交的。

  • node.js 是服务器端 javascript 运行时
  • angular 是客户端(浏览器)框架

是的,使用 angular2 和 IIS 不会有任何问题。 只需确保您如何处理依赖项,因为大多数 javascript 框架都使用 npm 进行依赖项管理