vuecli3.0项目创建
2019-09-29 本文已影响0人
EMMMMM_7aa0
创建时间:2019-09-03
最后修改时间:2019-09-04
在Node中
创建vue项目:
输入命令行:
vue create your-program-name

选自定义选项,可以选择自己需要的配置并进行安装

选择ESlint模式

选择功能

选择存放配置的文件

是否保存配置方案

是否使用CSS公共语法

TypeScript是否辅助使用Babel

是否使用路由的历史模块

选择一个CSS预处理语言

选择一个单元测试解决方案

选择一个E2E测试解决放案

然后开始创建项目并安装相应的依赖;

使用在Node中使用npm start
或者npm run dev
,在Visual Code中使用npm run dev
启动项目。
使用在Node中使用两次Crtl+C
,在Visual Code中使用Crtl+C Y
关闭项目。