fix(Nuxt): component override warnings (#838)

This commit is contained in:
IllustrisJack 2024-11-02 16:33:09 +01:00 committed by GitHub
parent eff3e75466
commit 2cb767122a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,6 +90,7 @@ export default defineNuxtModule<ModuleOptions>({
name: `${prefix}${key}`, // name of the component to be used in vue templates
export: key, // (optional) if the component is a named (rather than default) export
filePath: resolve(filePath),
priority: 1
})
})
}