Showing posts with label angular cli. Show all posts
Showing posts with label angular cli. Show all posts


Build a Web and Mobile Application with Angular and NativeScript


Getting Started :

 npm install -g @angular/cli

npm install -g @nativescript/schematics

npm install -g nativescript
ng new angular-nativescript-project
ng add @nativescript/schematics
   
 or one line command 
    
 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

--control
   
  npm i nativescript-ui-listview
   
  For Textbox, label,radio button,
  npm i nativescript-ui-dataform   

  For calender you can install this npm
  npm i nativescript-ui-calendar
   
 For different type of chart like lines, areas, bars, pies, and more you can install this npm
 npm i nativescript-ui-chart
   
 npm install nativescript-theme-core --save
   
 tns plugin add nativescript-image 

tns plugin add nativescript-ui-sidedrawer





1. Step

npm uninstall @angular/cli -g 


2. step

Cleared cache


3. step

Manually deleted content in
%AppData%\npm\node_modules

4.  step

npm install -g @angular/cli@latest
Previous PostOlder Posts Home