master
git 9 years ago
parent 75fd49b119
commit 5076e381b2

@ -8,7 +8,7 @@
## Install
``` bash
npm install vue-upload-component@next --save
npm install vue-upload-component --save
```
### CommonJS
@ -37,6 +37,24 @@
```
### SSR (Server)
```js
import FileUpload from 'vue-upload-component/src'
```
#### webpack.config.js
```js
var nodeExternals = require('webpack-node-externals');
{
//.....
externals: [
nodeExternals({whitelist:[/^vue-upload-component/]})
]
//.....
}
```
## Examples
https://lian-yue.github.io/vue-upload-component/

Loading…
Cancel
Save