Angular-CLI: NativeScript Magic FTW - Nathan Walker


#1

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.


#2

Hi,

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

Nathan Walker
Mine

The main difference if that in Nathan’s plugin you have to use moduleId: module.id 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:


#3

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

nativescript-ng2-magic module

or a code-sharing seed like

https://github.com/TeamMaestro/angular-native-seed

? (or what are the differences?)

Thanks. :slight_smile:


#4

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