mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 15:58:19 +08:00
32 lines
614 B
TypeScript
Executable File
32 lines
614 B
TypeScript
Executable File
import type { RouteRecordRaw } from 'vue-router'
|
|
|
|
function Layout() {
|
|
return import('@/layouts/index.vue')
|
|
}
|
|
|
|
const routes: RouteRecordRaw = {
|
|
path: '/jsx_example',
|
|
component: Layout,
|
|
redirect: '/jsx_example/index',
|
|
name: 'jsxExample',
|
|
meta: {
|
|
title: 'JSX',
|
|
icon: 'i-file-icons:jsx',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'index',
|
|
name: 'jsxExampleIndex',
|
|
component: () => import('@/views/jsx_example/index.tsx'),
|
|
meta: {
|
|
title: 'JSX',
|
|
sidebar: false,
|
|
breadcrumb: false,
|
|
activeMenu: '/jsx_example',
|
|
},
|
|
},
|
|
],
|
|
}
|
|
|
|
export default routes
|