-
|
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. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
|
bump |
Beta Was this translation helpful? Give feedback.
-
|
BUMP |
Beta Was this translation helpful? Give feedback.
-
ayy, it's the moneyprinter youtuber! |
Beta Was this translation helpful? Give feedback.
-
|
is it possible to replace the unocss with tailwindcss? |
Beta Was this translation helpful? Give feedback.
-
|
BUMP |
Beta Was this translation helpful? Give feedback.
-
|
The whole UI of Slidev is built atop UnoCSS Preset Wind4, thus I think it is not possible to disable UnoCSS or introduce Tailwind CSS without conflict. If some class names in Tailwind are missing in the UnoCSS Preset Wind4, you may add them by customizing UnoCSS or custom styles, or raise an issue in the UnoCSS repo. |
Beta Was this translation helpful? Give feedback.
The whole UI of Slidev is built atop UnoCSS Preset Wind4, thus I think it is not possible to disable UnoCSS or introduce Tailwind CSS without conflict.
If some class names in Tailwind are missing in the UnoCSS Preset Wind4, you may add them by customizing UnoCSS or custom styles, or raise an issue in the UnoCSS repo.