Issue
I am creating new angular project using angular cli, I don't see the app.module.ts but instead I see Angular created a new file app.config.ts my Angular cli version is: Angular CLI 17.0.10
Is this a new way of registering the modules? but when I refer the docs still it mentions app.module.ts (https://angular.io/guide/file-structure) I was away couple of months from coding with Angular, any detailed guide would be appreciated
Solution
In Angular 17 there are no modules anymore. If you want to keep the old structure (no longer recommended, other than for compatibility) use --standalone
switch:
ng new myapp --standalone false
Answered By - Felix
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.