vue的router爲history模式

一,出現的問題 1.路由跳轉不起做用 (1)解決方法: routerhtml Vue.use(Router) export default new Router({ mode:'history', // 注意添加這一項 routes: [ { path: '/', component: home}, { path: '/content', component: Content
相關文章
相關標籤/搜索