Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 818 Bytes

app-directory.md

File metadata and controls

23 lines (20 loc) · 818 Bytes

app-directory

App Directory

The App directory contains all domain/feature modules of the application. For example, in this directory, you might find the following modules: Home, Landing, About, Contact, Auth, and so on. Lazy loading techniques should be applied to these modules to ensure that Angular loads only the module needed to display the request, saving bandwidth and speeding up the entire application.

.
┣ app
|  ┣ landing
|  |  ┣ pages
|  |  |  ┗ landing-page
|  |  |     ┗ landing-page.component|.html|.scss|.ts
|  |  ┣ landing-routing.module.ts
|  |  ┗ landing.module.ts
|  ┣ shared
|  |  ┗ shared.module.ts
|  ┣ app-routing.module.ts
|  ┗ app.module.ts