34 lines
648 B
TypeScript
34 lines
648 B
TypeScript
|
import { Plugin, PluginMainLink } from 'boot/plugins';
|
||
|
import routes from './routes';
|
||
|
|
||
|
const mainLink: PluginMainLink = {
|
||
|
name: 'user-plugin',
|
||
|
title: 'User',
|
||
|
link: 'user',
|
||
|
icon: 'mdi-account',
|
||
|
children: [
|
||
|
{
|
||
|
name: 'user-plugin',
|
||
|
title: 'Erstes Plugin für User',
|
||
|
link: 'user-plugin1',
|
||
|
icon: 'mdi-account-plus'
|
||
|
},
|
||
|
{
|
||
|
name: 'user-plugin',
|
||
|
title: 'Zweites Plugin für User',
|
||
|
link: 'user-plugin2',
|
||
|
icon: 'mdi-account-minus'
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
|
||
|
const plugin: Plugin = {
|
||
|
routes,
|
||
|
mainLink,
|
||
|
name: mainLink.name,
|
||
|
requiredModules: ['user']
|
||
|
};
|
||
|
|
||
|
export { mainLink };
|
||
|
export default plugin;
|