由于新版的webstorm创建时不能选择template所以选择通过命令行建立工程

webstorm2020.1 创建 vue 工程


预先安装:

webstorm2020.1 创建 vue 工程

使用GIT创建Vue:

1.使用GIT进入工程目录

webstorm2020.1 创建 vue 工程

2.使用template 创建vue

$ vue init webpack [项目名称]

3.使用webstorm打开该工程

webstorm2020.1 创建 vue 工程

4.npm dev运行工程

dev启动
webstorm2020.1 创建 vue 工程

5.运行结果

webstorm2020.1 创建 vue 工程

相关文章: