Get Component without spec.ts file in Angular

Source: https://stackoverflow.com/questions/40990280/get-component-without-spec-ts-file-in-angularjs-2


Inside your angular-cli.json set the spec.component parameter to false:
{
   ...
   "defaults" : {
       ...
       "spec": {
           ...
           "component": false
       }
   }
}
or use the --spec=false option during creation
ng generate component --spec=false component-name



Không có nhận xét nào:

filebrowserBrowseUrl and external file browser/uploader

 https://ckeditor.com/old/forums/CKEditor-3.x/filebrowserBrowseUrl-and-external-file-browseruploader Thanks for your replies, it actually wo...