Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

NativeScript + AngularJS TodoMVC example

This is a sample project implementing the famous TodoMVC example using NativeScript and AngularJS

Set up prerequisites

You need to prepare the NativeScript distribution in the parent folder by executing all steps in the parent README:

(All run from the parent folder once.)

  1. Update git submodules.
  2. Install dependencies.
  3. npm install
  4. Install angular2 tsd typings.
  5. grunt prepare

Set up the project

  1. cd todomvc
  2. npm install
  3. tsd reinstall
  4. tns platform add android

Compile

grunt app-full

Run in the emulator

Android SDK emulated device:

tns emulate android --avd my-nexus7-device

or Genymotion

tns emulate android --geny my-nexus7-device