当前位置: 移动技术网 > IT编程>网页制作>Html5 > Vue开发--脚手架的搭建

Vue开发--脚手架的搭建

2020年03月14日  | 移动技术网IT编程  | 我要评论

1、安装好node.js

2、命令台   node -v   确认版本

 

 3、全局安装淘宝镜像

npm install -g cnpm --registry=https://registry.npm.taobao.org

 

 4、命令台   cnpm -v

 

 5、命令台 cnpm i -g @vue/cli  脚手架安装

 

 6、安装路由    npm i vue-router --save

7、配置路由

 

 8、配置webpack

 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网