Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.47 KB

DevelopmentWorkflow.md

File metadata and controls

48 lines (31 loc) · 1.47 KB

Development Workflow

Prerequisites

Develop locally

For local development we recommend using the npm commands provided in the plugin's package.json

Basically executing a bunch of commands will be enough for you to start making changes to the plugin and see them live synced in the demo. It's up to you to decide which demo to use for development - TypeScript, TypeScript + Angular or TypeScript + Vue.

To run and develop using TypeScript demo:

$ cd nativescript-datetimepicker/src
$ npm run demo.ios
$ npm run demo.android

To run and develop using TypeScript + Angular demo:

$ cd nativescript-datetimepicker/src
$ npm run demo.ng.ios
$ npm run demo.ng.android

To run and develop using TypeScript + Vue demo:

$ cd nativescript-datetimepicker/src
$ npm run demo.vue.ios
$ npm run demo.vue.android

After all the changes are done make sure to test them in all the demo apps.

For details on plugins development workflow, read NativeScript plugins documentation covering that topic.