Closed JonnyBGod closed 7 years ago
Hi!
I use the ng2-admin, with my own Electron integration.
They use variables to load images and fonts in their sass files, as this.
This may help, but I'm not sure how or where you would set it up in your current workflow.
@michaeljota you can use variables. Because of the isolated nature of css in angular components you should @import '../../../variables.scss';
at the beginning of each scss file you want to have the variables available.
Yeah, I mean. I can integrate this in my own workflow, but was thinking more about this as a solution to your current issue.
Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass
bug
In electron production env:
end up:
Basically is being searched relative to the OS root folder.
The files should be searched relative to the current app folder.
Ease of use and cohesion between different apps.