2021-02-13 13:11:25 +00:00
|
|
|
import { FG_Plugin } from 'src/plugins';
|
|
|
|
const mainRoutes: FG_Plugin.PluginRouteConfig[] = [
|
|
|
|
{
|
|
|
|
title: 'Getränke',
|
|
|
|
icon: 'mdi-glass-mug-variant',
|
2021-03-14 12:52:58 +00:00
|
|
|
route: {
|
|
|
|
path: 'drinks',
|
|
|
|
name: 'drinks',
|
|
|
|
redirect: { name: 'drinks-pricelist' },
|
|
|
|
},
|
|
|
|
permissions: ['user'],
|
2021-02-13 13:11:25 +00:00
|
|
|
children: [
|
|
|
|
{
|
|
|
|
title: 'Preisliste',
|
|
|
|
icon: 'mdi-cash-100',
|
|
|
|
shortcut: true,
|
2021-03-14 12:52:58 +00:00
|
|
|
permissions: ['user'],
|
|
|
|
route: {
|
|
|
|
path: 'pricelist',
|
|
|
|
name: 'drinks-pricelist',
|
2021-03-14 16:41:43 +00:00
|
|
|
component: () => import('../pages/PricelistP.vue'),
|
2021-03-14 12:52:58 +00:00
|
|
|
},
|
2021-02-13 13:11:25 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Einstellungen',
|
|
|
|
icon: 'mdi-coffee-to-go',
|
|
|
|
shortcut: false,
|
2021-03-14 12:52:58 +00:00
|
|
|
permissions: ['pricelist_settings'],
|
|
|
|
route: {
|
|
|
|
path: 'settings',
|
|
|
|
name: 'drinks-settings',
|
|
|
|
component: () => import('../pages/Settings.vue'),
|
|
|
|
},
|
2021-03-18 12:08:43 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2021-02-13 13:11:25 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
export default mainRoutes;
|