【发布时间】:2017-11-13 17:25:01
【问题描述】:
我正在尝试实现 - 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],
})
【问题讨论】:
-
使用这个 insted-of npmjs.com/package/ng2-file-upload
-
从哪里获得 php 端代码
-
服务器端的php代码?
标签: php angular file-upload