diff --git a/packages/nuxt/src/head/runtime/components.ts b/packages/nuxt/src/head/runtime/components.ts index 80ae459668c..df8ff0aed9a 100644 --- a/packages/nuxt/src/head/runtime/components.ts +++ b/packages/nuxt/src/head/runtime/components.ts @@ -197,9 +197,17 @@ export const Meta = defineComponent({ httpEquiv: String as PropType, name: String }, - setup: setupForUseMeta(meta => ({ - meta: [meta] - })) + setup: setupForUseMeta((props) => { + const meta = { ...props } + // fix casing for http-equiv + if (meta.httpEquiv) { + meta['http-equiv'] = meta.httpEquiv + delete meta.httpEquiv + } + return { + meta: [meta] + } + }) }) //