SCSS file imports using ~ (tilde) is not working in Angular 6
问题 I have two question regarding scss file imports in Angular6 Do I need to import my partials in all of my component.scss files after having imported it once in global src/sass/styles.scss . Shouldn't importing it once be enough? How do I import SCSS partials using import shortcut ~ ? All my partials are contained in src/sass folder. This is fine: @import '../sass/variables';//in app.component.scss But this throws error: @import '~sass/variables' : ERROR in ./src/app/app.component.scss Module