diff --git a/packages/nuxt/src/core/templates.ts b/packages/nuxt/src/core/templates.ts index e5d75bc988..76a5aab5fa 100644 --- a/packages/nuxt/src/core/templates.ts +++ b/packages/nuxt/src/core/templates.ts @@ -112,7 +112,7 @@ export { } } } -const adHocModules = ['router', 'pages', 'imports', 'meta', 'components'] +const adHocModules = ['router', 'pages', 'imports', 'meta', 'components', 'nuxt-config-schema'] export const schemaTemplate: NuxtTemplate = { filename: 'types/schema.d.ts', getContents: async ({ nuxt }) => { diff --git a/packages/nuxt/src/head/module.ts b/packages/nuxt/src/head/module.ts index b6d734b453..bad9f3407c 100644 --- a/packages/nuxt/src/head/module.ts +++ b/packages/nuxt/src/head/module.ts @@ -6,7 +6,7 @@ const components = ['NoScript', 'Link', 'Base', 'Title', 'Meta', 'Style', 'Head' export default defineNuxtModule({ meta: { - name: 'head' + name: 'meta' }, async setup (options, nuxt) { const runtimeDir = resolve(distDir, 'head/runtime')