DEV Community

loading...

Discussion on: My SCSS setup within a Vue CLI 3 project

Collapse
eligarlo profile image
Eliahu Garcia Lozano

Great article. I followed step by step and I really enjoyed this setup.
The only thing I could not make working are the scoped styles, every time I import a .scss to a component if I declare it as scoped it won't work...

Collapse
lynnewritescode profile image
Lynne Finnigan Author • Edited

Thanks for reading the article! Hmm strange, what happens? Do the styles just not show up? Do you have an example of your code for the scoped styles?

Collapse
eligarlo profile image
Eliahu Garcia Lozano

Finally I could make it work.
Yes what happened was that when I declared it as a scoped styles did not show up, but then I realized that I was importing styles twice (also from global.scss). I changed that and it worked.

Thanks again for your great post, I've read it many times as yesterday I was starting a new project and I wanted this setup for it.

Thread Thread
lynnewritescode profile image
Lynne Finnigan Author

Ah great, glad you got it working!
I'm happy the article has helped :) good luck with your project!