-
I wanted to start a new SvelteKit project so I did the usual I just can't seem to get tailwind to work, for example, here I'm trying to render a paragraph with ambel-500, but it doesn't work and the text remains default font color. src/routes/+page.svelte:
src/routes/+layout.svelte:
src/app.css:
vite.config.ts:
EnvironmentBrowser: Chrome
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Would you be able to provide a reproduction please? |
Beta Was this translation helpful? Give feedback.
-
Tested your repo and it worked for me. (MacOS, node v22.11.0) Maybe try going back to node 22 LTS? |
Beta Was this translation helpful? Give feedback.
Oh, I downloaded my own repo and did an npm install and it's somehow magically working. It's so annoying, because I created a brand new project from scratch and it doesn't work, but uploading it to GitHub and installing it works just fine. It's annoying, but I guess it still counts as a fix.
Thanks for the help!