Answers for "ng generate class"

1

angular cli skip-tests

The name of the TypeScript configuration file for tests. Default: ... --skipTests=true|false. When true, does not create "spec.ts" test files for the app. Default: false

While generating component using cmd
>ng g c component-name --skipTests
Posted by: Guest on April-20-2020
0

ng generate class

ng g class models/notice/notice --type=model --skipTests=true
 
 "model/notice" this will create the folder for you as well if it does not exist
 "/notice" this is the name of the model angular will create
Posted by: Guest on September-08-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language