1.1 vue-router路由基本使用
官网:https://router.vuejs.org/zh/installation.html
1、安装vue-router
bower info vue-router # 查看当前vue-router版本
cnpm install vue-route -S # 安装vue-router
安装后在:C:\Users\tom\node_modules\vue-router\dist 路径下回下载四个文件
111111
官网:https://router.vuejs.org/zh/installation.html
1、安装vue-router
bower info vue-router # 查看当前vue-router版本
cnpm install vue-route -S # 安装vue-router
安装后在:C:\Users\tom\node_modules\vue-router\dist 路径下回下载四个文件
111111