Inside your 
angular-cli.json set the spec.component parameter to false:{
   ...
   "defaults" : {
       ...
       "spec": {
           ...
           "component": false
       }
   }
}
or use the 
--spec=false option during creationng generate component --spec=false component-name 
Không có nhận xét nào:
Đăng nhận xét