Tailwind 2 sage 9.0.10

Hi

is there anyone who has tailwind 2 working in sage? I did follow this tutorial: How to Setup Tailwind CSS in Sage | Roots but no result. I don’t get any errors/warnings during yarn start/ yarn build. but the tailwind classes are not recognized…

I do but admittedly I used the ‘select framework step’ composer create-project roots/sage {project}. It seems to setup Tailwind a little differently to that tutorial.

ok, and after the setup it worked out of the box?

It did in my case yes.

For Sage 9.x there is an update branch which could help with build issues:

e class='quote' data-post="1" data-topic="20067">
Note: Changed Sage 9.2 to 9.1 (as 9.0.10 is the current release in master). Updated Sage 9.x You can now try out the Sage PR branch for webpack 5 and updated dependencies. The sage-installer which is used by Sage 9.x for adding framework support was also updated to add the right configuration and styles. Bootstrap 5 (Beta2) has been added for selection. Tailwind 2 is used now. Trying it out now! To prevent siloing of existing working forks of Sage 9 + (insert framework), please try this set…

What would you recommend your branch or sage 10?

Well, Sage 10 is the new Sage and from what I read should be production-ready. It got Laravel-mix for Webpack configuration, acorn, Gutenberg and ACF extensions. So when you are starting new with Sage anyway, then I would say Sage 10 is a good choice.