Issue
I have downloaded with npm the new version of Angular and I haven't seen the app.module.ts
Has it been eliminated from the project structure?
I have tried creating a new one. It seems odd.
Solution
From Angular v17 onwards, Standalone is now the new default for the CLI.
So when you create a new project you won't have any modules in it if you don't specify anything.
However, it is still possible to create a module-based app by using the --no-standalone
flag : ng new --no-standalone
Answered By - Matthieu Riegler
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.