## nativescript-demo nativescript类似于uniap,Convorda,实现 js+html 开发,打包为apk,ios等应用。 ## Usage ``` # Install dependencies npm install # Build for production tns build --bundle # Build, watch for changes and debug the application tns debug --bundle # Build, watch for changes and run the application npm install nativescript@6.5.1 -g npm remove -g nativescript ns create demo1 --appid "me.yoqi.nativescript.demo1" ns run android ns run --bundle ns build android tns plugin remove nativescript-geolocation@4.5.0 tns plugin add nativescript-geolocation@3.0.1 tns run android tns debug android --start ``` ## 安装插件 tns plugin add nativescript-geolocation 使用: var geolocation=require("nativescript-geolocation") 程序入口: "main": "app/app.js",