perf(import): perf components import

This commit is contained in:
vben
2020-12-23 22:27:46 +08:00
parent b6e5c3f625
commit 2ee01fa6ea
39 changed files with 367 additions and 456 deletions

View File

@@ -1,8 +1,4 @@
import { withInstall } from '../util';
import { createAsyncComponent } from '/@/utils/factory/createAsyncComponent';
export const MarkDown = createAsyncComponent(() => import('./src/index.vue'));
withInstall(MarkDown);
export * from './src/types';