Skip to content

This is a demo project to show how to use Angular multi-app monorepo and Cordova without the Ionic CLI.

Notifications You must be signed in to change notification settings

Domvel/demo-ng-ionic-cordova-monorepo

Repository files navigation

MyApps

This is an Angular workspace greated by the official docs of Angular. For example:

ng new my-workspace --createApplication="false"
ng generate application app1
ng generate application app2
ng generate library shared-lib

I do not use the Ionic-CLI because it's not fully supported for Angular multi-app monorepo. Ionic requires to have a separated package.json and config.xml for each app in your workspace. But I want to use a single package.json and config.xml. So I setup my own build system with Cordova.

I just included Ionic for the UI and native plugins. And build the app by using the Angular cli ng. Each app is built to the www folder. And then I simply run Cordova to build my app or run on the device.

How to use this project?

See the package.json of the workspace (root).

About

This is a demo project to show how to use Angular multi-app monorepo and Cordova without the Ionic CLI.

Resources

Stars

Watchers

Forks

Packages

No packages published