Have you wished for a future...
that would allow you to keep the code for the web and mobile apps in one place. One that would allow us to share the business logic between web, iOS and Android, but still be flexible enough to include platform-specific code where necessary.
To realise the Code-Sharing Dream the Angular and NativeScript teams teamed up to create nativescript-schematics, a schematic that enables you to build both web and mobile apps from a single project.
This article covers the core functionality around sharing code between the web and mobile apps with Angular and NativeScript.
Please note that @nativescript/schematics works with @angular/cli 6.1.0 or newer.