vue搭建环境并创建项目

1、>npm install @vue/cli -g

 

2、创建项目A

 

a、>vue ui 

b、在弹出的管理界面创建项目

 

a、npm install -g @vue/cli-init 

b、vue init webpack myapp //myapp:项目名称

 

 

visual code中添加辅助插件: 

 

js-css-html formatter
html css support
debugger for chrome
auto close tag
vetur

 

posted @ 2018-08-03 11:33  94cool  阅读(128)  评论(0编辑  收藏  举报