App templates help you jump start your native cross-platform apps with built-in UI elements and best practices. Save time writing boilerplate code over and over again when you create new apps.
This monorepo contains the following NativeScript app templates:
- Hello World (JavaScript, TypeScript, and Angular)
- Blank (JavaScript, TypeScript, Angular, Vue, and React)
- Drawer Navigation (JavaScript, TypeScript, Angular, and Vue)
- Tab Navigation (JavaScript, TypeScript, Angular, and Vue)
- Master Detail with Firebase (JavaScript, TypeScript, Angular, and Vue)
- Master Detail with Kinvey (JavaScript, TypeScript, and Angular)
The NativeScript framework has a vibrant community that can help when you run into problems.
Try joining the NativeScript community Slack. The Slack channel is a great place to get help troubleshooting problems, as well as connect with other NativeScript developers.
If you have found an issue with this template, please report the problem in the NativeScript repository.
We love PRs, and accept them gladly. Feel free to propose changes and new ideas. We will review and discuss, so that they can be accepted and better integrated.
This monorepo uses Lerna to manage packages and their releases.
Install the dependencies in the root of the repo with
$ npm i # or yarn
To list which packages have been changed since the last release
$ npx lerna changed
This will print something like this
lerna notice cli v3.14.2
lerna info versioning independent
lerna info Looking for changed packages since [email protected]
lerna info ignoring diff in paths matching [ 'ignored-file', '*.md' ]
tns-template-hello-world-ng
lerna success found 1 package ready to publish
To manually specify version for each package interactively run
$ npx lerna version
This should prompt the new version number for every changed package.
To release the packages, run
$ npx lerna publish
If you want to bump and publish at the same time,
$ npx lerna publish
will also prompt the new version interactively and then publish the package to npm.