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

Angular

251 readers
1 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.

all 3 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 9 months 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

[–] [email protected] 1 points 9 months ago