2021-12-09 14:18:38 +01:00
|
|
|
import { ZeroPlugin, ZeroPluginOptions } from '../../core';
|
|
|
|
|
import { defineAsyncComponent } from 'vue';
|
|
|
|
|
|
|
|
|
|
//const Picker = () => import('./ui-countrypicker.vue');
|
|
|
|
|
//const Page = () => import('./_page.vue');
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "zero.applications",
|
|
|
|
|
|
|
|
|
|
install(app: ZeroPluginOptions)
|
|
|
|
|
{
|
2022-01-28 14:48:11 +01:00
|
|
|
app.route({ name: 'applications', path: '/settings/applications', component: () => import('./applications.vue') });
|
|
|
|
|
app.route({ name: 'applications-edit', path: '/settings/applications/edit/:id', component: () => import('./application.vue'), props: true });
|
2021-12-09 14:18:38 +01:00
|
|
|
|
2022-01-28 14:48:11 +01:00
|
|
|
app.schema('applications:edit', () => import('./schemas/editor'));
|
2021-12-09 14:18:38 +01:00
|
|
|
}
|
|
|
|
|
} as ZeroPlugin;
|