Reputation: 15303
Here is my need:
I have created a angular library
which is used by number of applications. the library has the all styles file as ".scss" extension. in case of any update in library each application require to build the angular-library
, instead I decided to keep the library scss/css files in server. so it will automatically updated with all apps.
as a try i uploaded the '.scss' file, but it's not working after i added the file in index.html
the question is:
style.scss
file in other applications - if not possible thenscss
files in to css
file while i do library build and same can uploaded in serverplease help me.
Upvotes: 0
Views: 280
Reputation: 2084
at the root of project in angular.json u can add styles files from libraries (like global syle.scss) and angular application will convert them automatically
Upvotes: 2