Multi-app with same codebase with Vue3

Hello everyone :slight_smile:

I’m on a ionic application for my customers.
Everything works perfectly !

Now, I have to find a way to generate X applications based on the same basecode. The only differences are the logo, splash, and a config file (preferences for this customer).

I’ve tried the multi-app given by Ionic, but this option don’t answer to my case.

I’ve tried to create a folder named “main-app” wich contain my entire code.
After that, thanks to multi-app option, I’ve create a new “app” in my project called “Customer1”.
I’ve just copy the main.ts from Vue (the copy of the original app), change the imports to call files from the “main-app” folder, but I’ve broke everything :slight_smile:

If you have a idea to have a proper files structure, and a simply one codebase for X applications,

Thank you !

1 Like