Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating component does not add declaration to module #243

Open
ljayz opened this issue May 22, 2020 · 0 comments
Open

Generating component does not add declaration to module #243

ljayz opened this issue May 22, 2020 · 0 comments

Comments

@ljayz
Copy link

ljayz commented May 22, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant