我正在尝试实施 - https://github.com/spartaksun/ng2-file-uploader#backend-example-using-plain-php
我已经安装了ng2-file-uploader,在component.ts
我尝试按照指导添加代码,当我添加directives: [UPLOAD_DIRECTIVES]
时,它给了我错误 -
@Component({
selector: 'demo-app',
templateUrl: 'app/demo.html',
directives: [UPLOAD_DIRECTIVES],
})