Multi-App Configuration Issue
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
Direzione di ricerca
Inizia dalla documentazione sulla configurazione di Ionic CLI e riproduci la configurazione multi-app usando ionic start my-apps, ionic start app1 --no-deps e una seconda app con Ionic CLI 5.2.5. Ispeziona i file ionic.config.json generati e determina se il comportamento documentato della radice condivisa corrisponde a quello del CLI. Il lavoro è completato quando il comportamento di configurazione previsto è stato stabilito e il problema della documentazione o del CLI è stato identificato chiaramente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
https://ionicframework.com/docs/cli/configuration#config-file
In a multi-app project, apps share a single ionic.config.json file at the root of the repository instead of each app having their own.
Is this correct for the latest version of Ionic?
I created the multi-apps with no-deps parameter and both apps also have their own ionic-config.json. Also .gitignore, tslint.json, package.json.
To Reproduce
- Create the root project.
ionic start my-apps(blank template) - Open the
ionic.config.jsonand add the property"projects": {}. - Create your apps by
ionic start app1 --no-deps. (app1 and app2) (blank template) - See that every app has its own
ionic.config.json.
Expected behavior
I'm not sure how the multi-app feature of Ionic works.
I though I have a root project with all the project files like package.json and ionic.config.json.
And the "sub-apps" only contains the sources without separated configuration files etc.
Ok they can have a package.json. But why are there all the dependencies, even though the root dependencies should be used? Or do I understand something wrong? Or is the documentation wrong?
Screenshots
If applicable, add screenshots to help explain your problem.

Browser and OS (please complete the following information):
- OS: Windows 10 Pro 64-bit (1903)
- Ionic CLI: 5.2.5
Additional context
I want to create one app base (root) with multi-app feature. Each apps should use the shared root components, services, etc. But an app can also have their own components.
TSLint, TSConfig, Unit-Test-Config, gitignore, etc. should be shared. But currently each subapp have a own config. Exactly the same. DRY.
Maybe this is a bug for the Ionic core repository or CLI? But perhaps it's only a documentation issue. I don't know who this should actual work. This is my first attempt of building a multi-app.
But the fact is, each app in a multi-app project has its own ionic.config.json. The docs says there should only be one shared in the root. Or does this mean, I should delete the config files in my sub-apps?
- Lingua principale
- TypeScript
- Stelle
- 2k
- Fork
- 681
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ionic-team/ionic-cli
-
triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
ionic-team/ionic-cli#5016 ·
-
ionic-cli development status Apertatriage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
ionic-team/ionic-cli#5131 ·
-
triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
ionic-team/ionic-cli#5130 ·
-
triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
ionic-team/ionic-cli#5129 ·
-
triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
ionic-team/ionic-cli#5127 · 2 commenti ·
Tutte le issue di ionic-team/ionic-cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
copse-dev/agent-pane#2953 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Apertabug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
calcite-components needs triage refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Esri/calcite-design-system#15203 ·