0

I wanted this file to be the global styling sheet. But I don't know how to make a component reference it. Angular set-up here here is the angular setup

Here is my component: enter image description here

  • 1
    Does this answer your question? [angular-cli how to add global styles?](https://stackoverflow.com/questions/37484937/angular-cli-how-to-add-global-styles) That's not how you add global styles, and not what angular [components are](https://angular.io/api/core/Component). – msanford Mar 23 '22 at 19:10
  • I believe it does. I see that it does not work the way that I thought it did. Thank you – Malcolm Thompson Mar 23 '22 at 19:19

1 Answers1

0

You can easily create components using angular cli, run the below command in the terminal where your project is located. Command : ng generate component component_name

You can also check out this link angular-cli how to add global styles?

ahmed
  • 1
  • 2