Skip to content

Commit 748ae1e

Browse files
Update to use async
1 parent d21b139 commit 748ae1e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All notable changes to the "vuetify-drilldown-table" plugin will be documented in this file.
33

4+
## v1.1.4
5+
2024-03-13
6+
[main] (@webdevnerdstuff)
7+
* Change component to use `defineAsyncComponent`
8+
49
## v1.1.3
510
2024-02-26
611
[main] (@webdevnerdstuff)

src/plugin/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { defineAsyncComponent } from 'vue';
12
import type { App } from 'vue';
23
import type { GlobalOptions } from './types';
34
import './styles/main.scss';
@@ -10,7 +11,7 @@ export function createVDrilldownTable(options: GlobalOptions = {}) {
1011
const install = (app: App) => {
1112
app.provide(globalOptions, options);
1213

13-
app.component('VDrilldownTable', VDrilldownTable);
14+
app.component('VDrilldownTable', defineAsyncComponent(() => import('./VDrilldownTable.vue')));
1415
};
1516

1617
return {

0 commit comments

Comments
 (0)