我试图弄清楚如何将cordova添加到我的项目中,其中包含angular.js和lungo.js。这是我得到的错误:
Error: Current working directory is not a Cordova-based project.
我将如何使其成为 Cordova 项目?
我也尝试了相反的方法。那是:首先创建一个cordova项目,然后在其中添加angular.js和lungo.js。我正在使用 grunt 来初始化脚手架模板。
这是错误:
Philippes-MacBook-Pro:hello Phil$ grunt-init lungo-angular-bridge
Running "init:lungo-angular-bridge" (init) task
This task will create one or more files in the current directory, based on the
environment and the answers to a few questions. Note that answering "?" to any
question will show question-specific help and answering "none" to most questions
will leave its value blank.
Warning: Existing files may be overwritten! Use --force to continue.
Aborted due to warnings.
现在,我不确定如何正确包含cordova、angular.js、lungo.js。任何帮助,将不胜感激。
谢谢你,菲尔。