From 7f9fa8e9df6619856b416fadd68cbdda769b7a06 Mon Sep 17 00:00:00 2001 From: wangdahoo <157195705@qq.com> Date: Thu, 29 Sep 2016 13:31:05 +0800 Subject: [PATCH] v0.3.5 --- README.md | 14 ++++++++------ docs/build.js | 12 ++++++------ docs/build.js.map | 2 +- package.json | 2 +- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 2ffa675..d5b203a 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,19 @@ -# Vue Scroller ![version](https://img.shields.io/badge/release-%20v0.3.4%20-green.svg) +# Vue Scroller ![version](https://img.shields.io/badge/release-%20v0.3.5%20-green.svg) Vue component for smooth scrolling, pull to refresh and infinite loading. ## [Demo](https://wangdahoo.github.io/vue-scroller/) ## Change Logs +- v0.3.5 +support mouse events - v0.3.4 change required property 'delegate-id' to non-required any more. - v0.3.3 support multi scrollers in one page. ## How To Use -#### 创建vue项目, 并安装插件 +#### Step 1: create vue project and install vue-scroller via npm. (we use vue webpack-simple template here) ```bash $ vue init webpack-simple#1.0 my-project $ cd my-project @@ -19,7 +21,7 @@ $ npm install $ npm install vue-scroller ``` -#### 在webpack.config.js中添加resolve和loader +#### Step 2: add resolve option and loader in webpack.config.js as below. ```js module.exports = { // ... @@ -47,7 +49,7 @@ module.exports = { } ``` -#### 粘贴下面代码覆盖 App.vue +#### Step 3: copy codes below to overwrite App.vue ```vue