Skip to content

Generating component does not add declaration to module #243

Open
@ljayz

Description

@ljayz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions