schlechtenburg/packages/image/lib/index.ts

13 lines
297 B
TypeScript

import { defineAsyncComponent } from 'vue';
import { getDefaultData } from './util';
export * from './util';
export const name = 'sb-image';
export default {
name,
getDefaultData,
edit: defineAsyncComponent(() => import('./edit')),
view: defineAsyncComponent(() => import('./view')),
};