| 123456789101112131415161718192021222324252627282930313233343536373839 |
- const Background = () => import('views/admin/Background')
- const BlogCategory = () => import('views/blog/BlogCategory')
- const BlogTag = () => import('views/blog/BlogCategory')
- const BlogPost = () => import('views/blog/BlogPost')
- const BlogQuestion = () => import('views/blog/BlogQuestion')
- export default {
- path: '/background/blog',
- redirect: '/background/account',
- name: 'OSS',
- component: Background,
- meta: { needAuth: true, roles: ['admin'] },
- children: [
- {
- path: '/background/blog/category',
- name: 'AdminStoreConfig',
- component: BlogCategory,
- meta: { needAuth: true }
- },
- {
- path: '/background/blog/tag',
- name: 'BlogTag',
- component: BlogTag,
- meta: { needAuth: true }
- },
- {
- path: '/background/blog/post',
- name: 'BlogPost',
- component: BlogPost,
- meta: { needAuth: true }
- },
- {
- path: '/background/blog/question',
- name: 'BlogQuestion',
- component: BlogQuestion,
- meta: { needAuth: true }
- }
- ]
- }
|