chore(nuxt)!: update exclude default value of components

- add 'Form', 'FormField', see https://primevue.org/forms/
pull/6937/head
byronogis 2024-12-09 02:51:47 +08:00
parent 7cf7fa6c1c
commit a1322ca6d1
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export default defineNuxtModule<ModuleOptions>({
}, },
hooks: {}, hooks: {},
setup(moduleOptions, nuxt) { setup(moduleOptions, nuxt) {
moduleOptions.components.exclude = moduleOptions.components.exclude || ['Editor', 'Chart']; moduleOptions.components.exclude = moduleOptions.components.exclude || ['Editor', 'Chart', 'Form', 'FormField'];
const resolver = createResolver(import.meta.url); const resolver = createResolver(import.meta.url);
const registered = register(moduleOptions); const registered = register(moduleOptions);