ionic-team / ionic-team/angular-toolkit

[request] CLI register page module to current router

Open
#119 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
73
Forks
34
Avg merge
6m
Merged PRs (30d)
5

Description

I think `ionic g pg` command should page module to current router.
Now, all page module registered to `src/app/app-routing.module.ts` .

For example:
in tabs template, `$ ionic g pg tab1/sample` register `SamplePageModule` to `src/app/app-routing.module.ts`. I expect register to `src/tab1/tab1.module.ts`. `generate pipe` works like this.

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.