nuxt-og-image runs with zeroRuntime: true, which rewrites defineOgImage() to import.meta.prerender && defineOgImage(). Nothing is prerendered, so every call is a no-op in production.
Since #350, og:image comes from usePageSeo and useArticleSeo: the page's own image, or public/images/og-default.png. The remaining defineOgImage('NuxtSeo') and defineOgImage('TeamMember') calls, plus the NuxtSeo type error in the quality baseline, can go with the module. Alternatively, prerender only the OG image routes, if generated cards are wanted, e.g. for team profiles, whose avatar is only 256×256.
nuxt-og-imageruns withzeroRuntime: true, which rewritesdefineOgImage()toimport.meta.prerender && defineOgImage(). Nothing is prerendered, so every call is a no-op in production.Since #350,
og:imagecomes fromusePageSeoanduseArticleSeo: the page's own image, orpublic/images/og-default.png. The remainingdefineOgImage('NuxtSeo')anddefineOgImage('TeamMember')calls, plus theNuxtSeotype error in the quality baseline, can go with the module. Alternatively, prerender only the OG image routes, if generated cards are wanted, e.g. for team profiles, whose avatar is only 256×256.