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.
54 lines
1.0 KiB
54 lines
1.0 KiB
import Vue from 'vue'
|
|
import VueRouter from 'vue-router'
|
|
|
|
Vue.use(VueRouter)
|
|
|
|
const routes = [
|
|
{
|
|
path: '/NewBookRecommend',
|
|
name: 'NewBookRecommend',
|
|
component: () => import('../views/newBookRecommend.vue'),
|
|
meta: {
|
|
title: '新书推荐'
|
|
}
|
|
},
|
|
{
|
|
path: '/DigitalResource',
|
|
name: 'DigitalResource',
|
|
component: () => import('../views/digitalResource.vue'),
|
|
meta: {
|
|
title: '数字资源'
|
|
}
|
|
},
|
|
{
|
|
path: '/LibraryIntroduction',
|
|
name: 'LibraryIntroduction',
|
|
component: () => import('../views/libraryIntroduction.vue'),
|
|
meta: {
|
|
title: '图书馆简介'
|
|
}
|
|
},
|
|
{
|
|
path: '/ActivityFeed',
|
|
name: 'ActivityFeed',
|
|
component: () => import('../views/activityFeed.vue'),
|
|
meta: {
|
|
title: '活动咨询'
|
|
}
|
|
},
|
|
{
|
|
path: '/ActivityDetail',
|
|
name: 'ActivityDetail',
|
|
component: () => import('../views/activityDetail.vue'),
|
|
meta: {
|
|
title: '活动详情'
|
|
}
|
|
}
|
|
]
|
|
|
|
const router = new VueRouter({
|
|
mode: 'history',
|
|
routes
|
|
})
|
|
|
|
export default router
|