Angular 2+ File Uploader
Add ngx-uploader
module as dependency to your project.
npm install ngx-uploader --save
or using yarn
:
yarn add ngx-uploader
- app.module.ts is a sample how to to include
ngx-uploader
into your project. - app.component.ts defines example how to handle events in component or service.
- app.component.html represents HTML template with usage examples of
ngFileDrop
andngFileSelect
directives.
npm run build:prod
node dist/api/index.js
Then open your browser at http://localhost:4900
.
docker build -t ngx-uploader .
docker run -it --rm -p 4900:4900 ngx-uploader
Again, you are ready to open your browser at http://localhost:4900
.
MIT