Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic multi-app project using ionic cli 7.1.1 not work #5017

Open
matiasAS opened this issue Jun 5, 2023 · 0 comments
Open

ionic multi-app project using ionic cli 7.1.1 not work #5017

matiasAS opened this issue Jun 5, 2023 · 0 comments
Labels

Comments

@matiasAS
Copy link

matiasAS commented Jun 5, 2023

Description:

I want to create a multi-app project, I am guided by the documentation:https://ionicframework.com/docs/cli/configuration#project-structure

I understand that one of the recommended structures is

image

but it does not work. First, when executing ionic start, the app is created outside apps and second, if I execute ionic start with the --no-deps parameter, it still installs the dependencies.

I am a beginner with using monorepos, but what I understand is that the image structure should be respected: package.json and angular.json in common for all apps.

I've tried using this: https://github.com/ionic-team/ionic-cli/wiki/Angular-Monorepo but running ionic g gives me an error and I can't create anything.

I also tried to use nx with the @nxext/ionic-angular extension but it's horrible the way it works, since there are errors in the app.routing.ts, I can't use ng or ionic

I have also tried creating 2 apps, but it creates 2 complete projects without meeting the objective already described

Can you help me please?

My ionic info:
image

@ionitron-bot ionitron-bot bot added the triage label Jun 5, 2023
@matiasAS matiasAS changed the title ionic multi-app project usin ionic cli 7.1.1 not work ionic multi-app project using ionic cli 7.1.1 not work Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant