https://github.com/hector-js/playing-with-modules
The title describes the project by itself, playing with modules in Angular 6 for a multi page application!! :)
https://github.com/hector-js/playing-with-modules
Last synced: 4 months ago
JSON representation
The title describes the project by itself, playing with modules in Angular 6 for a multi page application!! :)
- Host: GitHub
- URL: https://github.com/hector-js/playing-with-modules
- Owner: hector-js
- Created: 2018-06-09T12:11:47.000Z (about 7 years ago)
- Default Branch: development
- Last Pushed: 2023-01-07T02:22:29.000Z (over 2 years ago)
- Last Synced: 2025-01-13T12:46:27.402Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.95 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PLAYING WITH MODULES ANGULAR 8
=============================
The title describes the project by itself, *playing with modules* in Angular *6* for a *multi page* application!! :)RootModules and FeatureModule
=============================
Using the following structure for an application multipage.```
src
¦
¦---app [root-module-folder]
¦
---modules [feature-modules-folder]
¦
¦---page-one [feature-module-folder-one]
¦ ¦
¦ ¦---components
¦ ¦ ¦
¦ ¦ -page-one.component
¦ ¦
¦ ---service
¦ ¦
¦ -page-one.service
...
¦
---page-[n] [feature-module-folder-[N]]
¦
¦---components
¦ ¦
¦ -page-[N].component
¦
---service
¦
-page-[N].service
```If you want to start the project from scratch, it could be easy running this cli commands:
```
cd src
ng generate module page-one --routing
ng generate component page-one/page-one
ng generate service page-one/page-one
...
ng generate module page-[N] --routing
ng generate component page-one/page-[N]
ng generate service page-one/page-[N]
```Being _N_ the number of pages of the application
Providers
=========
(IN PROGRESS)Tools
======
* JasmineReferences
=========
https://angular.io/guide/ngmodulesUpdate
======I have added new module named router spinner which adds a spinner between different events in the router