Description
Feature Request: Built-in support for NativeScript
With the announcement of both Angular CLI and NativeScript's support for Angular 2, I tried to create a new project with Angular CLI that supports NativeScript. I did not have much luck getting things running. Given that both projects are relatively new, I couldn't find any resources on how to make them work together.
Can we add a flag to the CLI that would include NativeScript as part of the new project? I would image something like this:
ng new PROJECT_NAME --nativescript
From what I can see, running ng new
runs the new
command which creates a new directory and then runs the init
command inside the directory. init
appears to accept a command line argument blueprint
that could help here. Is it possible to add NativeScript support simply by creating a blueprint that includes NativeScript? If so, the above command could be ng new PROJECT_NAME --blueprint=nativescript
.
I'm happy to create a PR for this if the community agrees that it's a good idea.