-
I followed the installation from here: https://tailwindcss.com/docs/installation/framework-guides/nextjs and Tailwind works just fine, however I make changes to Dependencies:
Project tree:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I don't have a direct answer to your question, but it is advised not to use Sass in conjunction with Tailwind. You shouldn't need to use Sass since the optimal paradigm of Tailwind usage is to write Tailwind class names directly in the template markup and not have to write much CSS at all. |
Beta Was this translation helpful? Give feedback.
-
Okay, so before writing the post I spent ~2 hours on this, and right after @wongjn (thanks!) response I think I figured it out. To make it work I've left my setup as is, but:
where Let's be honest, it's a Frankenstein configuration with custom SCSS, Bootstrap 5, and Tailwind 4, but it works. I'm just looking to see if Tailwind can make my work more pleasant, as I'm currently writing a lot of utility classes on top of Bootstrap 5. I'm only using a small subset of Bootstrap right now, and I'm considering making the switch, but it can't happen overnight—it has to be a gradual transition. |
Beta Was this translation helpful? Give feedback.
Okay, so before writing the post I spent ~2 hours on this, and right after @wongjn (thanks!) response I think I figured it out.
To make it work I've left my setup as is, but:
tailwind.config.js
tailwind.css
…