Angular-CLI: NativeScript Magic FTW - Nathan Walker


Angular CLI is a sweet way to create an Angular 2 app quickly, but how to add NativeScript to the mix? With a little magic of course.



This plugin doesn’t work with subfolders, you should use one of this two:

Nathan Walker

The main difference if that in Nathan’s plugin you have to use moduleId: in your component, in mine you use absolute paths without moduleId attribute in your component. Will do an update soon to support both :slight_smile:


What would currently be the better approach:
The use of the

nativescript-ng2-magic module

or a code-sharing seed like

? (or what are the differences?)

Thanks. :slight_smile:


I’d go with the second one. The first was quite experimental, but ymmv!