FileReader component for Vue.js
npm install vue-filereaderVue.js component
#### NPM
```
npm i vue-filereader --save
js
import FileReader from 'vue-filereader'// mount
...
components: {
FileReader
}
...
// mount with global
Vue.component(FileReader.name, FileReader)
`Default tag
`html
accept=".txt"
output="binary"
@reader-load="myMethod"
/>
`
Customization
`html
accept=".txt"
output="binary"
@reader-load="myMethod"
>
#reader="props"
>
type="file"
:accept="props.accept"
@change="props.onchange"
/>
`Development
#### Compiles and hot-reloads for development
`
npm run serve
`#### Compiles and minifies for production
`
npm run build:lib
`#### Lints and fixes files
`
npm run lint
``