schlechtenburg/packages/heading/lib/index.ts

14 lines
376 B
TypeScript

import { defineAsyncComponent } from 'vue';
import { IBlockDefinition } from '@schlechtenburg/core';
import { getDefaultData } from './util';
export * from './util';
export const name = 'sb-heading';
export default {
name,
getDefaultData,
edit: defineAsyncComponent(() => import('./edit')),
view: defineAsyncComponent(() => import('./view')),
} as IBlockDefinition;