tailwindlabs / tailwindcss-setup-examples

674 stars 173 forks source link

Easy Symfony setup. #124

Open excitedbox opened 3 years ago

excitedbox commented 3 years ago

To use Tailwind with Symfony you can use the PostCSS setup instructions and near the bottom of webpack.config.js put:

.enablePostCssLoader()

It took me less than 5 minutes and the Symfony webpack settings already know where your assets are located and webpack takes care of everything.