vue init webpack learnvuex//名称
Project name learnvuex//项目名
? Project description A Vue.js project //描述默认
? Author shiqi <test@runoob.com> //作者
? Vue build runtime //结构 选第二个 存储比第一个小
? Install vue-router? No //是否创建路由
? Use ESLint to lint your code? No //是否使用超规范代码 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)
> Yes, use NPM //是否在该地址创建项目 先第一个即可
Yes, use Yarn
No, I will handle that myself
创建好后 在dom控制台 输入 npm run dev