TailwindCSS and Vitepress #582
Replies: 4 comments 4 replies
-
https://github.com/ky-is/vitepress-starter-tailwind is a good starter repo showcasing how to get this working. |
Beta Was this translation helpful? Give feedback.
-
Reviving this issue as the linked example doesn't seem to work with the latest VitePress / Vite3 dependencies. I've copied almost exactly the same setup as in ky-is/vitepress-starter-tailwind, except for that the |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Tailwind currently ignores all dot folders: tailwindlabs/tailwindcss#8712 |
Beta Was this translation helpful? Give feedback.
-
How can I enable Tailwindcss in Vitepress?
I've tried that #62 but it didn't work for me. I'm using the latest version of vitepress
0.22.3
.My config looks like this:
and my theme/index.js looks like this:
with index.postcss being like this:
I've got my custom components working but they use tailwindcss and I can't get the styling to work.
Beta Was this translation helpful? Give feedback.
All reactions