VsCode 用脚手架快速搭建项目
VsCode搭建项目用脚手架node -vnpm -vnpm install -g vue-cli如果报错Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’ 点击链接vue init web pack test? Project name test? Project descr...
·
VsCode 搭建项目用脚手架
- node -v
- npm -v
- npm install -g vue-cli
如果报错Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’ 点击链接
- vue init webpack test
? Project name test
? Project description A Vue.js project
? Author
? Vue build standalone
? Install vue-router? No
? Use ESLint to lint your code? No
? Set up unit tests No
? Setup e2e tests with Nightwatch? No
? Should we run `npm install` for you after the project has been created? (recommended) npm
进入项目,npm run dev
更多推荐
已为社区贡献5条内容
所有评论(0)