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
ionic g c my-modal
- refactor
MyModalComponent to MyModal
- 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.
Feature Request
Describe the Feature Request
I think it would be great to generate a modal. It should add
Modalsuffix instead ofComponentfor the modal class name. Plus, in case it's an angular app, it would add the modal toentryComponents.Describe Preferred Solution
Describe Alternatives
ionic g c my-modalMyModalComponenttoMyModalMyModaltoapp.module.ts > entryComponentsConcerns:
It would be a problem to do
ionic g m my-modalsincemis for module.