fix(nuxt): use `unhead` key for ad-hoc module options (#28088)

This commit is contained in:
Alex Liu 2024-07-11 14:05:47 +08:00 committed by GitHub
parent 559b81719e
commit 92f2039f7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ const components = ['NoScript', 'Link', 'Base', 'Title', 'Meta', 'Style', 'Head'
export default defineNuxtModule<NuxtOptions['unhead']>({
meta: {
name: 'meta',
configKey: 'unhead',
},
async setup (options, nuxt) {
const runtimeDir = resolve(distDir, 'head/runtime')