mirror of https://github.com/nocodb/nocodb
Raju Udava
2 years ago
3 changed files with 6 additions and 2 deletions
@ -1,7 +1,10 @@ |
|||||||
import { Menu as AntMenu, Modal as AntModal } from 'ant-design-vue' |
import { Menu as AntMenu, Modal as AntModal, message } from 'ant-design-vue' |
||||||
import { defineNuxtPlugin } from '#imports' |
import { defineNuxtPlugin } from '#imports' |
||||||
|
|
||||||
export default defineNuxtPlugin((nuxtApp) => { |
export default defineNuxtPlugin((nuxtApp) => { |
||||||
nuxtApp.vueApp.component(AntMenu.name, AntMenu) |
nuxtApp.vueApp.component(AntMenu.name, AntMenu) |
||||||
nuxtApp.vueApp.component(AntModal.name, AntModal) |
nuxtApp.vueApp.component(AntModal.name, AntModal) |
||||||
|
message.config({ |
||||||
|
duration: +(process.env.ANT_MESSAGE_DURATION ?? 3), |
||||||
|
}) |
||||||
}) |
}) |
||||||
|
Loading…
Reference in new issue