Questions tagged [angular-cli-v9]

46 questions
-1
votes
1 answer

How can I add external JS file in Angular CLI component, specific to the component only?

I have components Home and About in Angular CLI app. I have included the javascript file required for both components in angular.json. But I want to add component-specific javascript files in the component. Say, I want to add home.js to the Home…
Jaspal
  • 601
  • 2
  • 13
  • 23
1 2 3
4