ionic-team / ionic-team/angular-toolkit
ionic generate modal
オープン
enhancement
- 主要言語
- TypeScript
- スター
- 73
- フォーク
- 34
- 平均マージ
- 6分
- マージ済み PR(30日)
- 5
説明
# Feature Request
#### Describe the Feature Request
I think it would be great to generate a modal. It should add `Modal` suffix instead of `Component` for the modal class name. Plus, in case it's an angular app, it would add the modal to `entryComponents`.
#### Describe Preferred Solution
```
ionic generate modal MODAL_PATH
```
#### Describe Alternatives
1. `ionic g c my-modal`
2. refactor `MyModalComponent` to `MyModal`
3. add `MyModal` to `app.module.ts > entryComponents`
#### Concerns:
It would be a problem to do `ionic g m my-modal` since `m` is for module.
コントリビューションガイド
評価
この issue はまだ評価されていません。