Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 863 Bytes

README.md

File metadata and controls

46 lines (39 loc) · 863 Bytes

User Details Client For Cordova

  • Prepare
npm i cordova -g
npm install -g @angular/cli

Cordova project

  • create
cordova create AppWrap com.tdtc.usedetails AppWrap

cordova create path [id [name]]

  • Add Platforms
cd AppWrap
cordova platform add browser

Angular project

index.html:

<script type="text/javascript" src="cordova.js"></script>

connects your Angular project to Cordova

run

Gen Angular dist files:

cd client
ng build --output-path=../AppWrap/www --base-href=./

verify

cd AppWrap
cordova platform add browser
cordova run browser --port=4260

Reference