You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
512 B
30 lines
512 B
import Vue from 'vue'
|
|
import VueRouter from 'vue-router'
|
|
|
|
Vue.use(VueRouter)
|
|
|
|
const routes = [
|
|
{
|
|
path: '/',
|
|
name: 'index',
|
|
component: () => import('../views/index.vue'),
|
|
meta: {
|
|
title: '智慧大屏'
|
|
}
|
|
},
|
|
{
|
|
path: '/selfServiceLibrary',
|
|
name: 'selfServiceLibrary',
|
|
component: () => import('../views/indexSelfService.vue'),
|
|
meta: {
|
|
title: '24小时自助图书馆'
|
|
}
|
|
}
|
|
]
|
|
|
|
const router = new VueRouter({
|
|
mode: 'hash',
|
|
routes
|
|
})
|
|
|
|
export default router
|