1
0
mirror of https://github.com/PanJiaChen/electron-vue-admin.git synced 2025-04-06 03:57:57 +08:00
2018-05-03 11:39:16 +08:00

19 lines
287 B
JavaScript

import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
name: 'landing-page',
component: require('@/components/LandingPage').default
},
{
path: '*',
redirect: '/'
}
]
})