Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic generate modal #52

Open
Newbie012 opened this issue Oct 26, 2018 · 0 comments
Open

ionic generate modal #52

Newbie012 opened this issue Oct 26, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@Newbie012
Copy link

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.

@imhoffd imhoffd transferred this issue from ionic-team/ionic-cli Jan 4, 2019
@imhoffd imhoffd added the enhancement New feature or request label Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants