21. September 2024
BillKrat
Angular , V18
Create Angular App With Module
To create an Angular app with a root @NgModule (app.module.ts) use the following CLI command:
ng new WebClient --no-standalone
ref:Launching app with root module
In contrast if --no-standalone is not used there will not be a module, which I found problematic as most examples available online reference the module - ref figure 3.
Figure 1. CLI create app with module
Figure 2. Screenshot of app.module.ts
Figure 3. default project when --no-standalone is not used