【问题标题】:Install Onsen UI 2 without Angular在没有 Angular 的情况下安装 Onsen UI 2
【发布时间】:2016-09-15 12:36:50
【问题描述】:

如何在没有 Angular 的情况下安装 Onsen UI 2?这里http://onsen.io.s3-website-us-east-1.amazonaws.com/v2/docs/guide/js/ 是不同的指南,但是当我执行 javscript 之一(> npm install onsenui)时,我总是得到 ReferenceError: angular is not defined 如何在没有 Angular 的情况下正确安装它?

【问题讨论】:

    标签: javascript angularjs cordova onsen-ui onsen-ui2


    【解决方案1】:

    尝试使用npm install onsenui@2.0.0,尽管这应该是默认版本。

    Onsen UI 不需要 AngularJS 或任何其他框架,如果你愿意,它可以与纯 JavaScript 一起使用。

    【讨论】:

      猜你喜欢
      • 2013-08-15
      • 2017-10-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-06-23
      • 2015-01-18
      • 2014-01-01
      • 1970-01-01
      相关资源
      最近更新 更多