Browse Source

fix(gui-v2): load modal component on load

re #3317

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3384/head
Pranav C 2 years ago
parent
commit
c10281b58c
  1. 3
      packages/nc-gui-v2/plugins/ant.ts

3
packages/nc-gui-v2/plugins/ant.ts

@ -1,6 +1,7 @@
import { Menu as AntMenu } from 'ant-design-vue'
import { Menu as AntMenu, Modal as AntModal } from 'ant-design-vue'
import { defineNuxtPlugin } from '#imports'
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.component(AntMenu.name, AntMenu)
nuxtApp.vueApp.component(AntModal.name, AntModal)
})

Loading…
Cancel
Save