re: My SCSS setup within a Vue CLI 3 project VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Yes, I ended up with this solution so far :). I created an import.scss for all my variables and mixins / placeholders used with the style-resourc...

Great! Yeah that is always the case for me, I always have sort of base styles that apply globally, but I want to scope all my components. So doing it this way works perfectly :)

Hey Allan and Lynne, Sorry, kinda lost here :) Can you explain what you did to solve this? Especially with the import.scss file

Although, I think maybe importing the global.scss file in App.vue might also be a good solution?

Hi Emmanuel, the import.scss file should just have things like variables and mixins that the other files will need access to. If you don't use the plugin to serve the variables etc, you can't access them and use them within other components.

So basically, from your example. Everything imported in the global.scss file is available to use in all the components?

code of conduct - report abuse