An open API service indexing awesome lists of open source software.

https://github.com/yansenlei/vue-read-file

Vue implementation of ReadFile
https://github.com/yansenlei/vue-read-file

file redux vue

Last synced: 3 months ago
JSON representation

Vue implementation of ReadFile

Awesome Lists containing this project

README

        

# vue-read-file

> 一个简单易用的文件读取组件

## Using

### Install
```bash
# npm
npm install vue-read-file
```

### Import
```javascript
import ReadFile from 'vue-read-file'
```

### Template
```html

```

### Options
| Name | Description | required |
| -------- | -------------------------------- | ------- |
| value | - | true |
| accept | 文件类型限制, 格式: ".txt" | false |
| position | 按钮位置, 可选: "left"、"center" | false |

## Build Setup

``` bash
# install dependencies
npm install

# build for production with minification
npm run build
```