vue-cli 使用
vue-cli 安装
npm install -g vue-cli
使用vue-cli 搭建Vue项目
D:\IdeaWorking\javaweb\vue-demo\vuezujian>vue init webpack
? Generate project in current directory? Yes
? Project name vuezujian
? Project description A Vue.js project
? Author “tanhyk <123456@qq.com>
? Vue build standalone
? Install vue-router? Yes
? 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

浙公网安备 33010602011771号