alan2207 / bulletproof-react

🛡️ ⚛️ A simple, scalable, and powerful architecture for building production ready React applications.
MIT License
28.03k stars 2.54k forks source link

Where would Sass mixins go? #109

Open Konglomneshued opened 1 year ago

Konglomneshued commented 1 year ago

I'm wondering. I have some Sass mixins I use throughout my app. What can I add to the structure of my src folder to make that happen?

I'm looking at: https://github.com/alan2207/bulletproof-react/blob/master/docs/project-structure.md; really good stuff.

Can I just make a folder for Sass mixins? Or maybe should I put it in one of the folders listed in the project structure guidelines, like utils?

NafiurSiddiqui commented 1 year ago

Generally, You wanna have a sass folder inside src. Utils do not sound like a good fit and do not serve the purpose unless only sass file you have a mixin and main of course.