Using Vite, Vue, Talwind CSS V4 and SCSS #17325
Unanswered
martinschaible
asked this question in
Help
Replies: 1 comment 1 reply
-
Tailwind should not be used with Sass, see: https://tailwindcss.com/docs/compatibility#sass-less-and-stylus. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I followed any instructions, but the the tailwind classes will never show up.
In my file
main.scss
i import tailwindcss:A simple import like described
@import tailwindcss
does not work anyway.The file vite.config.js looks like in the docs:
The import of the main.scss looks like this:
So far so good.
I can create new css and scss files with classes and they show up. So an simple @import and also the compiling of the scss stuff works.
Why i can not import the Tailwind CSS?
Thanks!
Martin
Beta Was this translation helpful? Give feedback.
All reactions