I want to create new folder with code ng g c recipes --spec false but in the terminal the results is Unknown option: '--spec'
Unknown option: 'false' .
-
Read the docs: angular.io/cli/generate#component-commandR. Richards– R. Richards2020-10-07 13:46:03 +00:00Commented Oct 7, 2020 at 13:46
Add a comment
|
2 Answers
Just replace --spec false with --skipTests=true.
You can find the full option list in here: https://angular.io/cli/generate#component