-
I've opened an issue in the documentation repository here, but this is a blocker and I thought this might be the better place to put it. Feel free to close either one as appropriate. Any guidance appreciated! The Svelte Kit set up guide doesn't seem to work correctly, link here Observed behaviorI've set up 4 brand new Svelte Kit projects, following exactly the instructions linked above, and none of them seem to integrate Tailwind correctly. In each case I selected a skeleton project with no add ons. In all cases the observed behavior is the same:
System infoThis was performed twice on a 2020 Macbook Air, Monterey 12.5 with:
And twice on Ubunutu 22.04.4 LTS running on ARM64 with:
Things I triedI tried many things for several hours, but the most notable two things are:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Seems to work for me using your exact Node and NPM versions: Consider providing an example project that reproduces the unexpected behavior. |
Beta Was this translation helpful? Give feedback.
-
But this was helpful, thanks. Perhaps my test of whether it was working wasn't correct, but I do have the same behavior as you (I think), and the same behavior I had before. When I tested it I was using different tailwind classes than the example they provided. Without the tailwind class in the h1 tag it just renders as a paragraph text. Is that expected behavior to override the html tags? I'd expect tailwind to work "on top" of them. |
Beta Was this translation helpful? Give feedback.
Your project does seem to be working for me:
This is expected behavior, as per the documentation: