ionic-team / ionic-cli

The Ionic command-line interface
MIT License
2k stars 653 forks source link

Default Folder Structure Changed Over Times for v7 #5006

Open sanchaykothari opened 1 year ago

sanchaykothari commented 1 year ago

Prerequisites I have read the Contributing Guidelines. I agree to follow the Code of Conduct. I have searched for existing 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:

sanchaykothari commented 1 year ago

git v7 0

sanchaykothari commented 1 year ago

MicrosoftTeams-image

sanchaykothari commented 1 year ago

Similar child issue #4994