mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
perf(import): perf components import
This commit is contained in:
@@ -3,10 +3,9 @@
|
||||
*/
|
||||
|
||||
import { withInstall } from '../util';
|
||||
|
||||
import { createAsyncComponent } from '/@/utils/factory/createAsyncComponent';
|
||||
export const Scrollbar = createAsyncComponent(() => import('./src/index.vue'));
|
||||
import Scrollbar from './src/index.vue';
|
||||
|
||||
withInstall(Scrollbar);
|
||||
|
||||
export { Scrollbar };
|
||||
export type { ScrollbarType } from './src/types';
|
||||
|
Reference in New Issue
Block a user