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 @@
// Transform vue-count-to to support vue3 version
import { withInstall } from '../util';
import { createAsyncComponent } from '/@/utils/factory/createAsyncComponent';
export const CountTo = createAsyncComponent(() => import('./src/index.vue'));
withInstall(CountTo);