This pull request helps reduce the number of files created for each module.
This is done by introducing the SharedModule in the form of two files shared.module.ts and shared.module.tns.ts, each containing the standard imports required for either web or {N} projects. Also the RouterModule for {N} and web have been abstracted out in a shareable RouterModule in the common/utils folder, which is divided into RouterModule.ts and RouterModule.tns.ts.
Additionally this Pull Request reduces the complexity of the home and +about components.
This pull request helps reduce the number of files created for each module. This is done by introducing the SharedModule in the form of two files
shared.module.ts
andshared.module.tns.ts
, each containing the standard imports required for either web or {N} projects. Also theRouterModule
for {N} and web have been abstracted out in ashareable RouterModule
in thecommon/utils
folder, which is divided intoRouterModule.ts
andRouterModule.tns.ts
. Additionally this Pull Request reduces the complexity of thehome
and+about
components.