燕鹏
4 年前
共有 5 个文件被更改,包括 4 次插入 和 46 次删除
@ -1,21 +0,0 @@ |
|||
import Vue from 'vue' |
|||
import Router from 'vue-router' |
|||
import Home from '@/views/Home.vue' |
|||
import About from '@/views/About.vue' |
|||
|
|||
Vue.use(Router) |
|||
|
|||
export default new Router({ |
|||
routes: [ |
|||
{ |
|||
path: '/', |
|||
name: 'home', |
|||
component: Home |
|||
}, |
|||
{ |
|||
path: '/about', |
|||
name: 'about', |
|||
component: About |
|||
} |
|||
] |
|||
}) |
@ -1,21 +0,0 @@ |
|||
import Vue from 'vue' |
|||
import Router from 'vue-router' |
|||
import Home from '@/views/Home.vue' |
|||
import About from '@/views/About.vue' |
|||
|
|||
Vue.use(Router) |
|||
|
|||
export default new Router({ |
|||
routes: [ |
|||
{ |
|||
path: '/', |
|||
name: 'home', |
|||
component: Home |
|||
}, |
|||
{ |
|||
path: '/about', |
|||
name: 'about', |
|||
component: About |
|||
} |
|||
] |
|||
}) |
正在加载...
在新工单中引用