schlechtenburg/packages/paragraph/lib/index.ts

10 lines
262 B
TypeScript

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