Questions tagged [angular-cli-v11]
3 questions
1
vote
2 answers
@ViewChild returns undefined. I can not access to the carousel ElementRef inside a modal
I am new to Angular CLI and I am using v11. I am trying to create an image gallery that clicking on some image generates a modal with a carousel showing the selected image at the beginning. But when I click on the image and the modal appears, for…
0
votes
1 answer
How to build angular main.js under assets folder
I have an Angular app, is there a way that I can force Angular to deploy the main.js under /assets folder?
basically I want to make Angular-CLI compile main.ts to main.js in assets folder.
"build": {
"builder":…

fereshteh rabet
- 198
- 1
- 2
- 11
0
votes
1 answer
Angular 11 – [HMR] Update failed: NullInjectorError: No provider for ApplicationRef
So I have updated an Angular 10 project into an Angular 11 project.
Everything works fine except the new bright and shiny hot module replacement.
So I've went through all the steps and I have a compiling app. When using the --hmr flag everything…

Some random IT boy
- 7,569
- 2
- 21
- 47