N
Nuxtβ€’4mo 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β€’4w ago
ever find a fix for this? @Rejox
harlan
harlanβ€’4w ago
Are you using zeroRuntime mode or anything? happy to investigate if i can get some details
kb
kbβ€’4w 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β€’4w ago
Nope couldnt find the issue or answer in here so I just removed if
kb
kbβ€’4w 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β€’4w ago
No description
harlan
harlanβ€’3w ago
Very strange, a GitHub issue would be great πŸ™
Want results from more Discord servers?
Add your server