ionic-team / ionic-team/angular-toolkit

Generating component does not add declaration to module

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

Description

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

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.