2020-10-13 18:17:00 +00:00
|
|
|
import routes from './routes';
|
2020-10-31 14:09:02 +00:00
|
|
|
import { FG_Plugin } from 'src/plugins';
|
2021-01-30 07:38:44 +00:00
|
|
|
import { defineAsyncComponent } from 'vue';
|
2020-10-13 18:17:00 +00:00
|
|
|
|
2020-10-31 14:09:02 +00:00
|
|
|
const plugin: FG_Plugin.Plugin = {
|
|
|
|
name: 'User',
|
|
|
|
mainRoutes: routes,
|
2020-10-14 20:27:20 +00:00
|
|
|
requiredModules: [],
|
2020-11-13 12:42:15 +00:00
|
|
|
requiredBackendModules: ['auth'],
|
2020-10-16 06:45:40 +00:00
|
|
|
version: '0.0.1',
|
2020-11-13 03:01:53 +00:00
|
|
|
widgets: [
|
|
|
|
{
|
|
|
|
priority: 1,
|
|
|
|
name: 'greeting',
|
|
|
|
permissions: [],
|
2021-01-30 07:38:44 +00:00
|
|
|
widget: defineAsyncComponent(() => import('./components/Widget.vue')),
|
2021-03-18 16:23:57 +00:00
|
|
|
},
|
|
|
|
],
|
2020-10-13 18:17:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default plugin;
|