参考网址:https://blog.csdn.net/qq_40197828/article/details/92638986
1.新建一个文件夹,用于存放项目
2.终端,进入文件夹根目录
3.执行创建命令
step1:
Vue create project_name / Vue init webpack ProjectName
step2:
? Please pick a preset: (Use arrow keys)
Default ([Vue 2] babel, eslint)
Default (Vue 3 Preview) ([Vue 3] babel, eslint)
> Manually select features
step3:
? Please pick a preset: Manually select features
? Check the features needed for your project: (Press <space> to select, <a> to toggle all, <i> to invert selection)
(*) Choose Vue version
(*) Babel
( ) TypeScript
( ) Progressive Web App (PWA) Support
( )