Closed RikEskes closed 3 years ago
Describe the bug Following the getting started guide, and also whilst using the template from StackBlitz, it seems that implementing @use in scss files to include the styling from the @material library is not working at it should.
To Reproduce Steps to reproduce the behavior:
Expected behavior The styling for the button and the checkbox should be the same as shown in the demo from the corresponding components.
What Angular MDC version are you using? 6.0.0-canary.2 - Stackblitz project 5.1.0 - Local project
What OS are you using?: MacOS Catalina 10.15.4 Windows 10
What browser(s) is this bug affecting?: Safari 13.1 Google Chrome 80.0.3987.162 Firefox 74.0
Extra info I asked this question in a bit of a broader sense on StackOverflow as well, you can follow it here: https://stackoverflow.com/questions/60995662/why-is-use-in-my-scss-files-not-working-in-my-angular-9-1-0-project
Here is the link to the sass-loader ticket, of which I think is related. There is a workaround for now with the webpack config. https://github.com/webpack-contrib/sass-loader/issues/804
I have finally been able to solve this issue.
Describe the bug Following the getting started guide, and also whilst using the template from StackBlitz, it seems that implementing @use in scss files to include the styling from the @material library is not working at it should.
To Reproduce Steps to reproduce the behavior:
Expected behavior The styling for the button and the checkbox should be the same as shown in the demo from the corresponding components.
What Angular MDC version are you using? 6.0.0-canary.2 - Stackblitz project 5.1.0 - Local project
What OS are you using?: MacOS Catalina 10.15.4 Windows 10
What browser(s) is this bug affecting?: Safari 13.1 Google Chrome 80.0.3987.162 Firefox 74.0
Extra info I asked this question in a bit of a broader sense on StackOverflow as well, you can follow it here: https://stackoverflow.com/questions/60995662/why-is-use-in-my-scss-files-not-working-in-my-angular-9-1-0-project