mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-23 20:06:37 +08:00
45 lines
887 B
TypeScript
45 lines
887 B
TypeScript
const component: AuthRoute.Route = {
|
|
name: 'component',
|
|
path: '/component',
|
|
component: 'basic',
|
|
children: [
|
|
{
|
|
name: 'component_button',
|
|
path: '/component/button',
|
|
component: 'self',
|
|
meta: {
|
|
title: '按钮',
|
|
requiresAuth: true,
|
|
icon: 'ic:baseline-radio-button-checked'
|
|
}
|
|
},
|
|
{
|
|
name: 'component_card',
|
|
path: '/component/card',
|
|
component: 'self',
|
|
meta: {
|
|
title: '卡片',
|
|
requiresAuth: true,
|
|
icon: 'mdi:card-outline'
|
|
}
|
|
},
|
|
{
|
|
name: 'component_table',
|
|
path: '/component/table',
|
|
component: 'self',
|
|
meta: {
|
|
title: '表格',
|
|
requiresAuth: true,
|
|
icon: 'mdi:table-large'
|
|
}
|
|
}
|
|
],
|
|
meta: {
|
|
title: '组件示例',
|
|
icon: 'fluent:app-store-24-regular',
|
|
order: 3
|
|
}
|
|
};
|
|
|
|
export default component;
|