ionic-team / ionic-team/ionic-cli

Add --routing option to generate routing module for pages

Đang mở
#3,361 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
enhancement project type: angular
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Basically, instead of routing being at the top of the page itself, generate a separate routing module when `--routing` option is specified.

Original request: https://github.com/ionic-team/ionic-cli/issues/3019#issuecomment-404025299

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start at the CLI entry point that handles page generation and trace how routing is currently placed in generated pages. Implement the --routing behavior so routing is emitted as a separate module, then verify that generation without the option remains unchanged and that the option produces the separate module.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.