yarn install
yarn run serve
yarn run build
yarn run lint
yarn run test:unit
yarn run test:e2e
You need to set up the cordova development environment beforehand.
$ npm run cordova-build # make sure you can build your project
$ cordova prepare # prepare cordova resources
NOTE: On Windows, admin authority requires to run vue add cordova
command.
So that symlinks can be generated properly.
$ npm run cordova-serve
# open http://localhost:8080
$ npm run cordova-build
$ cordova build browser
# The `platforms/browser/www` directory is ready to deployed.
- Your app runs on the WKWebview. This feature is provided by cordova-plugin-ionic-webview.
- Open project in Xcode
daikin-usa/platforms/ios/DaikinUSA.xcodeproj
. - Select main folder
DaikinUSA
in left bar. - In Bundle Identifier, rename it with your account name.
- In signing section, select your team o create it.
- Launch app.
Verify the Developer App certificate for your account is trusted on your device.
- Open Settings on iPhone and navigate to General -> Device Management.
- Then select your Developer App certificate to trust it.
ionic cordova resources
$ npm run cordova-serve
# in another tab
$ cordova run ios
$ npm run cordova-build
$ cordova build ios
$ npm run cordova-serve
# in another tab
$ cordova run android
$ npm run cordova-build
$ cordova build android