-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I add global scss ? #70
Comments
I found this webpack-contrib/sass-loader#218 (comment) works for me, I use src/app/styles, but I have to mark styles as resource root to tell intellij where to resolove the import. |
Hello, This is not really relevant to electron itself. There are a couple of different ways to do that, the most common is to just add these styles to the root component and mark View Encapsulation to "none". Best regards |
@joaogarin Is it possible to run by |
The default is |
Hello, Sorry but I don't follow what the issue is. I am not really familiar with the CLI so don't know how its done there. This project does not use the CLI. But here its just a scss file imported in the app.component.ts file (root component). So you can import without any problem..You can also use multiple scss files in there if you would like. |
I found angular/angular-cli#1253 , angular/angular-cli#3700 , but do not works in angular-electron, how can I use common scss in angular-electron ?
The text was updated successfully, but these errors were encountered: