├── .babelrc
├── .editorconfig
├── .gitignore
├── README.md
├── index.html
├── package-lock.json
├── package.json
├── src
├── App.vue
├── assets
│ └── logo.png
├── index.js
├── main.js
└── packages
│ ├── exif-js.js
│ ├── index.js
│ └── seikann-upload.vue
└── webpack.config.js
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["env", { "modules": false }],
4 | "stage-3"
5 | ]
6 | }
7 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | npm-debug.log
5 | yarn-error.log
6 |
7 | # Editor directories and files
8 | .idea
9 | *.suo
10 | *.ntvs*
11 | *.njsproj
12 | *.sln
13 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # upload-vue-m
2 | [](https://www.npmjs.com/package/upload-vue-m)
3 | > 基于vue的图片上传插件,移动PC皆可
4 | ## Build Setup
5 |
6 | ``` bash
7 | # install dependencies
8 | npm install
9 |
10 | # serve with hot reload at localhost:8080
11 | npm run dev
12 |
13 | # build for production with minification
14 | npm run build
15 | ```
16 | ## npm 安装
17 | ``` bash
18 | npm install upload-vue-m --save
19 | ```
20 | ## 例
21 | 在main.js中引入
22 | ```js
23 | import upload from 'upload-vue-m'
24 | Vue.use(upload)
25 | ```
26 | ##在组件中使用
27 | ``` html
28 |