Skip to content

Building for Mobile

Chris Clarke edited this page Aug 14, 2019 · 5 revisions

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)

Clone this wiki locally