mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:28:38 +08:00
31 lines
588 B
TypeScript
Executable File
31 lines
588 B
TypeScript
Executable File
import type { RouteRecordRaw } from 'vue-router'
|
|
|
|
function Layout() {
|
|
return import('@/layouts/index.vue')
|
|
}
|
|
|
|
const routes: RouteRecordRaw = {
|
|
path: '/tab_example',
|
|
component: Layout,
|
|
name: 'tabExample',
|
|
meta: {
|
|
title: '标签栏',
|
|
icon: 'i-ic:round-tab',
|
|
},
|
|
children: [
|
|
{
|
|
path: '',
|
|
name: 'tabExampleIndex',
|
|
component: () => import('@/views/tab_example/index.vue'),
|
|
meta: {
|
|
title: '标签栏演示',
|
|
menu: false,
|
|
breadcrumb: false,
|
|
activeMenu: '/tab_example',
|
|
},
|
|
},
|
|
],
|
|
}
|
|
|
|
export default routes
|