Files
mixtape/zero.Backoffice.UI/app/modules/countries/plugin.ts
T

18 lines
492 B
TypeScript
Raw Normal View History

2021-12-07 15:59:29 +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.countries",
install(app: ZeroPluginOptions)
{
app.vue.component('ui-countrypicker', defineAsyncComponent(Picker));
app.route({ path: '/countries', component: Page });
2021-12-07 15:59:37 +01:00
app.editor('country', null);
app.editorField('')
2021-12-07 15:59:29 +01:00
}
} as ZeroPlugin;