1
submitted 6 months ago by [email protected] to c/[email protected]

i need to import HtmlClient and router, thank you.

all 3 comments
sorted by: hot top controversial new old
[-] [email protected] 2 points 6 months ago

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 6 months ago
this post was submitted on 21 Nov 2023
1 points (100.0% liked)

Angular

235 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 11 months ago
MODERATORS