ImageResponse using custom tailwind config
Unanswered
Rainbow trout posted this in #help-forum
Rainbow troutOP
I'm currently working on a new website and I want to reuse the same Tailwind configuration between my web app and my open graph images, is it possible to do that using the
ImageResponse
function from next/server
?2 Replies
Currently, the support for tailwind css is still experimental. it is impossible to pass a custom tailwind css configuration
You can refer to there for more information: https://github.com/vercel/satori
You can refer to there for more information: https://github.com/vercel/satori
Rainbow troutOP
Actually, there is a way to pass custom Tailwind configurations shipped into Satori: https://github.com/vercel/satori/pull/340