ionic-team / ionic-team/ionic-cli

Default Folder Structure Changed Over Times for v7

未关闭
#5,006 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

**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:**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。