| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Integrating NativeScript with Angular.
Install your native toolchain and NativeScript as described in the docs:
https://docs.nativescript.org/setup/quick-setup
$ cd nativescript-angular $ npm install
Install NPM packages (use the local copy of nativescript-angular):
$ cd ng-sample $ npm install $ npm install ../nativescript-angular
Start the app:
$ tns run android $ tns run ios
Install NPM packages (use the local copy of nativescript-angular):
$ cd tests $ npm install $ npm install ../nativescript-angular
Start test run:
$ tns test ios --emulator $ tns test android --emulator
Use npm link to link nativescript-angular in tests and ng-sample progects:
cd nativescript-angular npm link cd ../ng-sample npm link nativescript-angular cd ../tests npm link nativescript-angular
NativeScript session on AngularConnect conference
The ng-sample app is meant for testing stuff while developing the renderer code, and isn't the best example out there. You can take a look at these sample apps that use the published builds from npm:
| Back | FazBrowse Home | New Git URL |