Browse Source

feat(nc-gui): auto-import message from ant-design-vue

pull/3801/head
braks 2 years ago
parent
commit
6e55a7d3fe
  1. 5
      packages/nc-gui/nuxt.config.ts

5
packages/nc-gui/nuxt.config.ts

@ -135,7 +135,10 @@ export default defineNuxtConfig({
autoImports: {
dirs: ['./context', './utils', './lib'],
imports: [{ name: 'useI18n', from: 'vue-i18n' }],
imports: [
{ name: 'useI18n', from: 'vue-i18n' },
{ name: 'message', from: 'ant-design-vue/es' },
],
},
pageTransition: {

Loading…
Cancel
Save