Skip to content

Commit 835472f

Browse files
author
毅王
committed
build: release 4.6.6
### Slots * Add scroll-container, scroll-panel, scroll-content * Build scripts
1 parent 983978f commit 835472f

33 files changed

+2060
-8099
lines changed

README-ZH.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[English Version](https://github.com/YvesCoding/vuescroll/blob/dev/README.md) | 中文版
1212

13-
> 一个基于 Vue 的滚动插件,有 3 种模式用于适配 PC 和手机。
13+
> 一个基于 Vue.js 的漂亮滚动条, 可以适用于 pc 和手机。
1414
> [vuescrolljs.yvescoding.org/zh](http://vuescrolljs.yvescoding.org/)
1515
1616
## 预览
@@ -62,7 +62,8 @@ npm install vuescroll -S
6262
```javascript
6363
import Vue from 'vue';
6464
import vuescroll from 'vuescroll';
65-
65+
// 注意: 从4.6.6开始, 你需要引入 .css 文件了
66+
import 'vuescroll/dist/vuescroll.css';
6667
Vue.use(vuescroll);
6768

6869
const vm = new Vue({
@@ -95,13 +96,17 @@ const vm = new Vue({
9596
</div>
9697
```
9798

98-
### API 参考
99+
### API
100+
101+
[API](http://vuescrolljs.yvescoding.org/zh/guide/api.html)
102+
103+
### Event
99104

100-
[Vuescroll API](http://vuescrolljs.yvescoding.org/zh/guide/api.html)
105+
[Event](http://vuescrolljs.yvescoding.org/zh/guide/event.html)
101106

102-
### Event 参考
107+
### Slot
103108

104-
[Vuescroll Event](http://vuescrolljs.yvescoding.org/zh/guide/event.html)
109+
[Slot](http://vuescrolljs.yvescoding.org/zh/guide/slot.html)
105110

106111
## 变更日志
107112

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
English Version | [中文版](https://github.com/YvesCoding/vuescroll/blob/dev/README-ZH.md)
1212

13-
> A scrolling plugin based on Vue.js, which has 3 modes for PC and mobile phone.
13+
> A beautiful scrollbar based on Vue.js for PC and mobile..
1414
> [vuescrolljs.yvescoding.org](http://vuescrolljs.yvescoding.org/)
1515
1616
## Preview
@@ -62,6 +62,8 @@ npm install vuescroll -S
6262
```javascript
6363
import Vue from 'vue';
6464
import vuescroll from 'vuescroll';
65+
// Note: from 4.6.6, you need to import the .css file
66+
import 'vuescroll/dist/vuescroll.css';
6567

6668
Vue.use(vuescroll);
6769

@@ -95,13 +97,17 @@ const vm = new Vue({
9597
</div>
9698
```
9799

98-
### API Reference
100+
### API
99101

100-
[Vuescroll API](http://vuescrolljs.yvescoding.org/guide/api.html)
102+
[API](http://vuescrolljs.yvescoding.org/guide/api.html)
101103

102-
### Event Reference
104+
### Event
103105

104-
[Vuescroll Event](http://vuescrolljs.yvescoding.org/guide/event.html)
106+
[Event](http://vuescrolljs.yvescoding.org/guide/event.html)
107+
108+
### Slot
109+
110+
[Slot](http://vuescrolljs.yvescoding.org/guide/slot.html)
105111

106112
## Changelog
107113

demo/demo-comprehensive.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<title>Document</title>
99
<script src="./vue.js"></script>
1010
<script src="../dist/vuescroll.js"></script>
11+
<link rel="stylesheet" href="../dist/vuescroll.css">
12+
1113
<style>
1214
* {
1315
box-sizing: border-box;

demo/demo-paging.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<title>Document</title>
99
<script src="./vue.js"></script>
1010
<script src="../dist/vuescroll.js"></script>
11+
<link rel="stylesheet" href="../dist/vuescroll.css">
12+
1113
<style>
1214
html,
1315
body {

demo/demo-snapping.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<title>Document</title>
99
<script src="./vue.js"></script>
1010
<script src="../dist/vuescroll.js"></script>
11+
<link rel="stylesheet" href="../dist/vuescroll.css">
12+
1113
<style>
1214
html,
1315
body {

0 commit comments

Comments
 (0)