-
Notifications
You must be signed in to change notification settings - Fork 2
Building for Mobile
npm i -g ionic cordova @sentry/cli
https://www.microsoft.com/store/productId/9MSVKQC78PK6 https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-debian-8
npm run build extension-toolkit
or for production build
npm run build:extension
cd apps/extension-toolkit
cordova run android
Build is handled via ionic/cordova. Whilst there is some support for monorepo-style applications, it is still a partly manual process.
See documentation about ionic multi-apps here: https://ionicframework.com/docs/cli/configuration#multi-app-projects See documentation about adding ionic here: https://ionicframework.com/docs/cli/configuration#adding-an-app
Undocumented process includes a number of changes to angular.json
, adding global.scss
and src/global.scss
(expected by ionic build scripts) and changes to index.html
to reflect boilerplate code (mostly head/meta)
Some of the process may/may not be done in steps outlined here: https://medium.com/@haleminh27/ionic-4-nestjs-nx-monorepo-dream-come-true-a7eb4c01a646#1fb8 (will likely need to check angular.json updated correctly)
Note, if configured correctly all commands should still be run from the top level (with specified configurations and default projects)