From 5076e381b2a9b5932c13d60bb83e2eb3c59cfd7d Mon Sep 17 00:00:00 2001 From: git Date: Wed, 26 Apr 2017 17:22:38 +0900 Subject: [PATCH] Update md --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b47837..f66551a 100644 --- a/README.md +++ b/README.md @@ -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/