VueCLI 安装

1.安装

npm install -g @vue/cli-service-global
vue create hello-world
vue-cli-service

2.启动

npm run serve
npm run build //编译
npm run line //检查语法

3.目录结构

VueCLI目录结构

Last updated

Was this helpful?