slidev icon indicating copy to clipboard operation
slidev copied to clipboard

How to add Tailwind CSS to Slidev (existing project or custom theme)?

Open brylie opened this issue 9 months ago • 3 comments

I'm creating a presentation to showcase some Tailwind CSS features. Naturally, I'd like to render examples directly in the Slidev slides, to illustrate how the code output looks to the end-user. However, the UnoCSS variant doesn't include all Tailwind CSS classes, particularly for new features.

It would be helpful if the documentation outlined how I can add Tailwind CSS to a Slidev project. Or, perhaps there could be a TailwindCSS Slidev theme starter?

I've considered adding screenshots or using a different presentation framework, but neither of those options seems ideal.

brylie avatar Apr 04 '25 06:04 brylie

bump

z0xca avatar Apr 20 '25 16:04 z0xca

BUMP

FujiwaraChoki avatar Jun 01 '25 17:06 FujiwaraChoki

BUMP

ayy, it's the moneyprinter youtuber!

z0xca avatar Jun 01 '25 21:06 z0xca

is it possible to replace the unocss with tailwindcss?

kingRayhan avatar Dec 13 '25 14:12 kingRayhan