摘要: 一、注册vue-router import VueRouter from 'vue-router' Vue.use(VueRouter); 二、创建 router 实例并routes 定义路由 const router = new VueRouter({ mode:"history", routes 阅读全文
posted @ 2020-04-01 00:25 aikell 阅读(170) 评论(0) 推荐(0)