Files
mixtape/zero.Backoffice.UI/app/modules/countries/plugin.ts
T
2021-12-07 15:59:37 +01:00

18 lines
492 B
TypeScript

import { ZeroPlugin, ZeroPluginOptions } from '../../core';
import { defineAsyncComponent } from 'vue';
const Picker = () => import('./ui-countrypicker.vue');
const Page = () => import('./_page.vue');
export default {
name: "zero.countries",
install(app: ZeroPluginOptions)
{
app.vue.component('ui-countrypicker', defineAsyncComponent(Picker));
app.route({ path: '/countries', component: Page });
app.editor('country', null);
app.editorField('')
}
} as ZeroPlugin;