npm install -g @angular/cli
npm install -g @nativescript/schematics
npm install -g nativescript
ng new angular-nativescript-project
ng add @nativescript/schematics
ng new --c=@nativescript/schematics --name=angular-nativescript-project --shared
ng g component about
ng g c contactus
ng serve
tns run android --bundle
tns run ios --bundle
tns platform add android
tns platform add ios
tns info
tns update
npm i nativescript-angular
npm i nativescript-ui-listview
npm i nativescript-ui-dataform
npm i nativescript-ui-calendar
npm i nativescript-ui-chart
npm install nativescript-theme-core --save
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the sarvesh.
##For Android you can downloand android studio automatic emulator install and run with visual studio code