DEV Community

Discussion on: How I Structure my SCSS Projects to Keep Myself from Going Insane

Collapse
antlio profile image
Anthony Lio

Nice article, it helps having a concret example here.
Just wondering, what are your thoughts about having something like an index.scss in each high level folders rather than importing everything in the global stylesheet ?

Collapse
seibmacdaniel profile image
Mac Daniel Author • Edited

Thanks Ant Lio!
Your suggestion could also work especially if you have a lot more SCSS partials to work with. It’s relative to the scale of your project.
As for me, it’s enough to have it all imported in the global scss file since I can still easily view the partials from the side panel of my editor.

Collapse
antlio profile image
Anthony Lio

Good point, thanks!