首先环境要求 node版本 12.13.0
命令行输入
Vue create jingdong
选择
Manually select features
选择
Choose Due version
Babel
Router
Vuex
CSS Pre-processors
Linter / Formatter
选择
3.x (Preview)
Use history mode for router?(Requires proper server setup for index fallback in production)
选择 n
选择
Sass/SCSS (width dart-sass)
选择
ESLint + Standard config
选择
Lint on save
选择
In dedicated config files
选择
Save this as a preset for future projects?
n
执行
npm run serve