Skip to content

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

@brylie

Description

@brylie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions