Next.js Discord

Discord Forum

Generated OpenGraph image with Tailwind and custom config

Unanswered
Siamese posted this in #help-forum
Open in Discord
SiameseOP
I'm following the guide on https://vercel.com/docs/functions/og-image-generation/og-image-examples#using-tailwind-css---experimental and I have it working for the most part. The problem is, none of my tailwind colors or anything from the tailwind.config.js file I have seem to work. It seems to only use a default tailwind config. Can you not use a custom tailwind config when using the OpenGraph image generation with next/og?

1 Reply