ionic-team / ionic-team/angular-toolkit

Generating component does not add declaration to module

未关闭
#243 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
73
派生
34
平均合并
6 分钟
30 天内合并 PR
5

描述

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"
> }

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。