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

Angular

266 readers
4 users here now

A community for discussion about angular

Wormhole

!godot@programming.dev

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
[–] Kwa@derpzilla.net 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

[–] MrOzwaldMan@lemmy.ml 1 points 1 year ago