-
Default and named imports from CSS files are deprecated. Use the ?inline query instead. For example: import stylesheet from "~/tailwind.css?inline" what is the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
You'll want to switch to using side effect imports. https://remix.run/docs/en/main/future/vite#fix-up-css-imports |
Beta Was this translation helpful? Give feedback.
-
Here https://remix.run/docs/en/main/future/vite#fix-up-css-imports-referenced-in-links they say that you will need to add ?url to your css imports. They showed an example I used:
and added postcss.config.mjs
This has worked for me :) |
Beta Was this translation helpful? Give feedback.
You'll want to switch to using side effect imports. https://remix.run/docs/en/main/future/vite#fix-up-css-imports