Sep 4, 2018 · 1 min read
Yes, there is. I’m not so sure about the other ways but what I and it works for me is to use standard Sass 7–1 pattern. With this pattern, you will have only one entry point for the SCSS file which is ‘main.scss’ (or whatever) and you just put that file path in the angular.json you can forget it like, maybe, forever because from that point on you’ll only work with main.scss file.
7–1 pattern is quite useful for Sass development but you’ll need to keep in mind when using along with the component specific style (the stylesheet that was specified in component). The component specific style will be rendered after the main.scss compiled style in the HTML head tag and that means it can override your style in your main.scss.
