Issue
I have created a partial scss file of a custom component. My question is, by convention, where should this file be located? inside the component folder? in src/themes? somewhere else? Thank you very much in advance
Solution
I would put it under src/assets/styles/partial.scss
& then update my angular.json as
"styles": [
"src/styles.css",
"src/assets/styles/partial.scss"
],
This is considering the fact that you are using both styles.css & scss files.
Answered By - Ashish Patil
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.