我的问题是:
我试着遵循以下步骤:https://github.com/vuejs/vueify
但是当我尝试运行这个命令时:
browserify -t vueify -e src/main.js -o build/build.js我收到以下错误消息:
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open 'c:\Users\Justin\phonegap-projects\cc\build\build.js'我的问题是:
我如何组织我的项目,以适应VueJS和Vueify的工作?或者我应该做些什么来完成给定链接中的步骤?
备注:
我的目录结构:
- hooks (part of Phonegap)
- node_modules
- platforms (part of Phonegap)
- plugins (part of Phonegap)
- www (Phonegap directory with the HTML/CSS/JS)
- index.html
- css
- img
- js (I guess I need the compiled file here)
- res
- spec
- views
- index.html
- spec.html
- [file] config.xml值得一提的是,我现在收到的节点模块(以防万一我错过了什么):
- babel-plugin-transform-runtime
- babel-preset-es2015
- babel-runtime
- uniq
- vue
- vue-hot-reload-api
- vueify
- vueify-insert-css发布于 2016-03-10 00:50:23
在这种情况下,node可能只是抱怨没有build/文件夹。剩下的应该会没事的。
https://stackoverflow.com/questions/33911865
复制相似问题