mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(nuxt): use unhead
key for ad-hoc module options (#28088)
This commit is contained in:
parent
559b81719e
commit
92f2039f7b
@ -8,6 +8,7 @@ const components = ['NoScript', 'Link', 'Base', 'Title', 'Meta', 'Style', 'Head'
|
|||||||
export default defineNuxtModule<NuxtOptions['unhead']>({
|
export default defineNuxtModule<NuxtOptions['unhead']>({
|
||||||
meta: {
|
meta: {
|
||||||
name: 'meta',
|
name: 'meta',
|
||||||
|
configKey: 'unhead',
|
||||||
},
|
},
|
||||||
async setup (options, nuxt) {
|
async setup (options, nuxt) {
|
||||||
const runtimeDir = resolve(distDir, 'head/runtime')
|
const runtimeDir = resolve(distDir, 'head/runtime')
|
||||||
|
Loading…
Reference in New Issue
Block a user