Base solution for your next web application
Open Closed

import external styles into project #9762


User avatar
0
shridhar.mole created
  • 8.9
  • Angular
  • net core

Hi, I want to use ngx-org-chart in my aspnet zero project. I am refering this link for that. So I am not able to import the file they have given in the link. i.e @import '~ngx-org-chart/_theming.scss';

I tried by putting @import '~ngx-org-chart/_theming.scss'; into "styles.css" as well as "custom-theme.scss" file. but didn't worked that. Can you please suggest where do I exactly put that import line in our aspnet zero project?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It seems like you need to import this into a scss file. Did you create custom-theme.scss ? If so, how do you use it ? Did you add it to angular.json ?