Skip to content

kgriffiths/nativescript-sdk-examples-ng

 
 

Repository files navigation

NativeScript Code Samples

This repo contains the code of the NativeScript Code Samples companion application.

You can get the source code of the application and start exploring the code there, or you can read the documentation articles associated with each of the examples. The application is also very useful as a NativeScript playground - you can use the source code as a starting point and modify them to fit your app needs.

It is very easy to contribute to the samples and we encourage you to contribute any samples you think that will be useful for other developers. If you need a sample that is missing, please open a new issue so that other member of the community can help you.

Please read the contribution guide here.

All the samples have automated tests associated with them and you can be sure that they work with the latest NativeScript version.

Currently, the samples are written around the specific APIs, but we will be adding more “complete scenarios” implemented out of the box.

The code is currently Angular 2 based, a non-Angular version is coming soon.

We hope you will enjoy using this resource, if you have any feedback please open an issue.

Run the app from source code

git clone --depth 1 [email protected]:NativeScript/nativescript-sdk-examples-ng.git
cd nativescript-sdk-examples-ng
tns run android|ios

About

NativeScript and Angular 2 code samples.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 60.6%
  • HTML 35.1%
  • JavaScript 3.1%
  • CSS 1.2%