Questions
heshanheshanasked 2 months ago
i want create new component but vs code terminal show this error,
More than one module matches. Use the '--skip-import' option to skip importing the component into the closest module or use the module option to specify a module.
1

1 Answers

Accepted
codegenlabcodegenlabanswered 2 months ago
use this command to create new component,
ng g c new-component-name --module module-name
ex:
ng g c pages/new-page --module pages
1