ionic-team / ionic-team/ionic-cli
Default Folder Structure Changed Over Times for v7
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2k
- Forks
- 682
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**Prerequisites**
I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.
**Description:**
On release of ionic v7, introduced a new default folder structure with no app.module.ts file and app-routing.module.ts named as app.routes.ts and standalone home pages and other addition. Now when we create a new project we get the older folder structure as it was in v6.
**Steps to Reproduce:**
#ionic start
**Output:**
Pasted the screenshot of the output generated by #ionic start
**My `ionic info`:**
```
Ionic:
Ionic CLI : 7.0.1 (C:\Users\SA20066233\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 7.0.1
@angular-devkit/build-angular : 15.2.5
@angular-devkit/schematics : 15.2.5
@angular/cli : 15.2.5
@ionic/angular-toolkit : 9.0.0
Capacitor:
Capacitor CLI : 4.7.3
@capacitor/android : not installed
@capacitor/core : 4.7.3
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 1.7.2
System:
NodeJS : v18.14.2 (C:\Program Files\nodejs\node.exe)
npm : 9.5.0
OS : Windows 10
```
**Other Information:**
Beitragsleitfaden
Rechercherichtung
Start with the ionic start entry point and reproduce the generated project using the reported Ionic CLI, Ionic Angular, and Angular versions. Compare the resulting folder structure with the v7 structure described in the issue; done means new projects consistently use the intended v7 defaults or the version-specific behavior is documented.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100