ionic-team / ionic-team/angular-toolkit

Generating component does not add declaration to module

Đang mở
#243 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
73
Fork
34
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
5

Mô tả

This will successfully create a module
> ionic generate module tstmdule

When creating a component inside a module,
> ionic generate component tstmdule/tstcmpnt

it does create the component files but it does not update the tstmdule (app/tstmdule/tstmdule.module.ts) module to have the TstcmpntComponent declaration

When I commented out this part in `angular.json` file and generate a component it updates the module successfully
> "cli": {
> "defaultCollection":"@ionic/angular-toolkit"
> }

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

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

Đánh giá

Issue này chưa được đánh giá.

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.