Reputation: 1
I am currently learning Angular as a complete beginner and following a tutorial from a book. In the tutorial, the app.module.ts file is introduced at the very beginning. However, I cannot find this file in my project after setting it up. I downloaded the latest version of Angular via npm. Why is the app.module.ts file missing from my project? Additionally, what is the purpose of the module file in Angular, and why is it important?
Upvotes: -1
Views: 47
Reputation: 11
There are two approaches when you are building an angular app, first is ng module which you are working in, second is standalone and it is introduced in angular 14, while standalone is newer many developer still working with ng module approach
Upvotes: 1