From 54f0cf7195e0d41af0710ec0b37347931db2e61a Mon Sep 17 00:00:00 2001 From: Yao Date: Fri, 21 Apr 2017 21:20:24 +0800 Subject: [PATCH] change require vue to Vue && waterfall.md (#2) --- build/webpack.build.js | 2 +- build/webpack.components.js | 2 +- docs/examples-dist/waterfall.vue | 32 ++++++++++++++++++++----------- docs/examples-docs/waterfall.md | 33 ++++++++++++++++++++++---------- 4 files changed, 46 insertions(+), 23 deletions(-) diff --git a/build/webpack.build.js b/build/webpack.build.js index f6373d03a..8f671337b 100644 --- a/build/webpack.build.js +++ b/build/webpack.build.js @@ -13,7 +13,7 @@ config.output = { }; config.externals = { - vue: 'vue' + vue: 'Vue' }; config.plugins = [ diff --git a/build/webpack.components.js b/build/webpack.components.js index 3d5d30f5e..358456548 100644 --- a/build/webpack.components.js +++ b/build/webpack.components.js @@ -7,7 +7,7 @@ delete config.devtool; config.entry = Components; config.externals = { - vue: 'vue' + vue: 'Vue' }; config.output = { diff --git a/docs/examples-dist/waterfall.vue b/docs/examples-dist/waterfall.vue index 1d05dcfe6..42d49522f 100644 --- a/docs/examples-dist/waterfall.vue +++ b/docs/examples-dist/waterfall.vue @@ -1,20 +1,34 @@