mirror of
https://github.com/PanJiaChen/electron-vue-admin.git
synced 2025-04-06 03:57:57 +08:00
19 lines
287 B
JavaScript
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: '/'
|
|
}
|
|
]
|
|
})
|