add breadcrumb
This commit is contained in:
1 parent
1ff6d27ab8
commit
fc378d4903
10 files changed
+52
-14
No files matched your search
@@ -1,4 +1,7 @@
|
||||
import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router';
|
||||
import i18n from '../i18n';
|
||||
|
||||
const t = i18n.global.t;
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -9,11 +12,17 @@ const routes = [
|
||||
{
|
||||
path: '/content',
|
||||
name: 'content',
|
||||
meta: {
|
||||
title: t('common.nav.content')
|
||||
},
|
||||
component: () => import('@/layouts/Content.vue'),
|
||||
children: [
|
||||
{
|
||||
path: 'editor',
|
||||
name: 'editor',
|
||||
meta: {
|
||||
title: t('common.nav.editor')
|
||||
},
|
||||
component: () => import('@/pages/content/Editor.vue')
|
||||
}
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user