this post was submitted on 21 Nov 2023
1 points (100.0% liked)

Angular

270 readers
2 users here now

A community for discussion about angular

Wormhole

[email protected]

Logo base by Angular under CC BY 4.0 with modifications to add a gradient and drop shadow

founded 1 year ago
MODERATORS
 

i need to import HtmlClient and router, thank you.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

I haven’t run ng new for a while, but if it’s missing AppModule, it may be because they bootstrapped the app using standalone application. Check this part of the documentation that shows you how to provide dependencies in a standalone application: https://angular.io/guide/standalone-components#configuring-dependency-injection