docker-flask-example icon indicating copy to clipboard operation
docker-flask-example copied to clipboard

Clarification of tailwindcss configuration

Open TheDavidFactor opened this issue 1 year ago • 3 comments

I see assets/tailwind.config.js exists, but according to the .js file is legacy and won't be used unless the @config directive is used to load it. I do not see a corresponding directive in assets/css/app.css so am I correct in assuming the tailwind.config.js is a legacy artifact and can be deleted?

TheDavidFactor avatar Sep 08 '25 13:09 TheDavidFactor

Hi,

I recall running into issues getting PostCSS to work with the new CSS directives but if you're open to testing that out and confirming it still works without it, I'm game for changing.

nickjj avatar Sep 08 '25 17:09 nickjj

I'm no expert, your work and this project have been my introduction to css pre-processing and extensions. I've removed it from my project and nothing has broken, but I wouldn't take that to mean a whole lot. I asked the question more for my own knowledge and understanding.

TheDavidFactor avatar Sep 10 '25 14:09 TheDavidFactor

I think a good test here would be to write custom CSS that exercises some of PostCSS' features. This project gives you an empty slate so I think it's expected it still works when removed.

nickjj avatar Sep 10 '25 16:09 nickjj