N
Nuxtβ€’5mo ago
Rejox

defineOgImageComponent is not defined

Hi, when using og-image, it all works on developement. But as soon as I build it to production, it says its undefined
No description
7 Replies
kb
kbβ€’2mo ago
ever find a fix for this? @Rejox
harlan
harlanβ€’2mo ago
Are you using zeroRuntime mode or anything? happy to investigate if i can get some details
kb
kbβ€’2mo ago
it was my bad - i expected it to prefill the modules within nuxt config - muscle memory, so I just wasnt loading the module!
Rejox
RejoxOPβ€’2mo ago
Nope couldnt find the issue or answer in here so I just removed if
kb
kbβ€’2mo ago
though while your about - there a common gotcha for it working locally, being visible in devtools, but then prod it just aint? πŸ˜†
kb
kbβ€’2mo ago
No description
harlan
harlanβ€’2mo ago
Very strange, a GitHub issue would be great πŸ™

Did you find this page helpful?