Browse Source

router

master
xuhuajiao 2 years ago
parent
commit
b306a638c0
  1. 10
      src/router/index.js

10
src/router/index.js

@ -7,7 +7,7 @@ const routes = [
{ {
path: '/NewBookRecommend', path: '/NewBookRecommend',
name: 'NewBookRecommend', name: 'NewBookRecommend',
component: () => import('../views/newBookRecommend.vue'),
component: () => import('@/views/newBookRecommend.vue'),
meta: { meta: {
title: '新书推荐' title: '新书推荐'
} }
@ -15,7 +15,7 @@ const routes = [
{ {
path: '/DigitalResource', path: '/DigitalResource',
name: 'DigitalResource', name: 'DigitalResource',
component: () => import('../views/digitalResource.vue'),
component: () => import('@/views/digitalResource.vue'),
meta: { meta: {
title: '数字资源' title: '数字资源'
} }
@ -23,7 +23,7 @@ const routes = [
{ {
path: '/LibraryIntroduction', path: '/LibraryIntroduction',
name: 'LibraryIntroduction', name: 'LibraryIntroduction',
component: () => import('../views/libraryIntroduction.vue'),
component: () => import('@/views/libraryIntroduction.vue'),
meta: { meta: {
title: '图书馆简介' title: '图书馆简介'
} }
@ -31,7 +31,7 @@ const routes = [
{ {
path: '/ActivityFeed', path: '/ActivityFeed',
name: 'ActivityFeed', name: 'ActivityFeed',
component: () => import('../views/activityFeed.vue'),
component: () => import('@/views/activityFeed.vue'),
meta: { meta: {
title: '活动咨询' title: '活动咨询'
} }
@ -39,7 +39,7 @@ const routes = [
{ {
path: '/ActivityDetail', path: '/ActivityDetail',
name: 'ActivityDetail', name: 'ActivityDetail',
component: () => import('../views/activityDetail.vue'),
component: () => import('@/views/activityDetail.vue'),
meta: { meta: {
title: '活动详情' title: '活动详情'
} }

Loading…
Cancel
Save