Closed bogdanciuca closed 8 months ago
Update: Still reproducing with nuxt: 3.8.2
and @nuxtseo/module: 2.0.0-beta.45
.
Workaround: Pin nuxt version to 3.8.0
.
Thanks will likely resolve this in v3 as I need to rework how the inline styling works.
If you need another work around in the mean time, you'll need to switch to inline styles / tailwind classes.
@harlan-zw Thanks for the response. Unfortunately I'm using vuetify instead of tailwind. Regarding inline styles, are you referring to experimental.inlineSSRStyles: true
in nuxt config? I just tried it, with no difference.
@harlan-zw Thanks for the response. Unfortunately I'm using vuetify instead of tailwind. Regarding inline styles, are you referring to
experimental.inlineSSRStyles: true
in nuxt config? I just tried it, with no difference.
No, the issue is that Satori doesn't support non-inlined styles (or tailwind classes).
To get around this limitation the module uses https://github.com/Stranger6667/css-inline, however, it seems like there's an issue with how it's extracting the styles with the latest Nuxt.
@harlan-zw Thanks for the context! It seems a bit strange that nuxt
changed this behaviour in a patch version, instead of a major / minor one.
I've created a follow-up issue in the dependency repo, hope that'll help.
Are you able to share the template you're using? Need a good way to replicate this
Should be performing better in 3.0.0-rc.21
, let me know if that's not the case.
@harlan-zw apologies for the delayed response, it's been a horrific end of year. Will you be making a release of Nuxt SEO
that uses this OG
version?
@harlan-zw apologies for the delayed response, it's been a horrific end of year. Will you be making a release of
Nuxt SEO
that uses thisOG
version?
Sorry to hear that, don't feel any obligation to respond in a timely manner, it doesn't matter.
Yes, I'll be releasing a @nuxt/seo
RC soon
Thanks!
Will you be publishing the RCs to the npm registry by any chance? Looks like latest published version is 2.0.0-beta.55
, which doesn't include the fix.
LE: Oh it seems that the package name has changed. I've successfully upgraded to latest RC, however the OG Image issue still persists. Additionally, images (i.e. logo) are not rendered either.
Describe the bug
Seems like the CSS isn't loaded anymore when the images are generated.
Version:
"@nuxtseo/module": "2.0.0-beta.42"
3.8.0
3.8.1
Reproduction
Can add if needed
System / Nuxt Info