Skip to content

Commit 60b8343

Browse files
Changed to use plugin version
1 parent 2d4f9c5 commit 60b8343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import '@/libraries/fontawesome';
22
import App from './App.vue';
33
import CodeBlock from '@wdns/vue-code-block';
4-
import VDrilldownTable from './index';
4+
import { createVDrilldownTable } from './plugin/index';
55
import { createApp } from 'vue';
66
import { createPinia } from 'pinia';
77
import { makeServer } from './server';
@@ -11,7 +11,7 @@ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
1111
makeServer({ environment: 'demo' });
1212

1313
const app = createApp(App);
14-
app.use(VDrilldownTable);
14+
app.use(createVDrilldownTable());
1515
app.component('CodeBlock', CodeBlock);
1616
app.use(createPinia());
1717
app.component('font-awesome-icon', FontAwesomeIcon);

0 commit comments

Comments
 (0)