会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
逍遥玩儿
博客园
首页
新随笔
联系
订阅
管理
2018年4月10日
Vue路由教程
摘要: 1.安装路由 npm install vue-router 2.在router.js导入vue-router,vue import VueRouter from 'vue-router' import Vue from 'vue' //因为配置路由表的时候,需要用到Main.vue组件,所以需要导入
阅读全文
posted @ 2018-04-10 20:48 逍遥玩儿
阅读(166)
评论(0)
推荐(0)
编辑
公告