You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remix does not support Vite 6 yet, so probably downgrading Vite to v5 would solve your issue.
I made two PRs that fixes the incompatibilities last week (#10254, #10255), hoping to get them merged. 🫡
Remix does not support Vite 6 yet, so probably downgrading Vite to v5 would solve your issue. I made two PRs that fixes the incompatibilities last week (#10254, #10255), hoping to get them merged. 🫡
Thank you! This fixed it. Not sure how I missed that Vite had sneakily upgraded to 6.
Same issue. For me all css files like tailwind, fontsource are not working. I came across your question and the answers. At least I found a workable solution. Thanks.
Reproduction
I've been testing this with Mantine and used their starter with upgraded dependencies:
https://github.com/ahallicks/remix-template
Clone this,
npm i
and thennpm run dev
and when you load the page you'll see messages in the console like:and no styles load.
System Info
Used Package Manager
npm
Expected Behavior
These imported styles should be automatically bundled and loaded on the front end.
Note that I have also tried importing them as paths and using the LinksFunction but this still doesn't work.
Actual Behavior
Any styles imported this way do not load as Remix can't find them:
For the example repo this means that almost no styles load at all.
The text was updated successfully, but these errors were encountered: