Skip to content

Commit 3217ab0

Browse files
author
李杰
committed
update
1 parent da1b63f commit 3217ab0

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# vue-sticky-nav
22

3+
[![NPM version](https://img.shields.io/npm/v/vue-sticky-nav)][downloads-url]
4+
[![NPM Downloads][downloads-image]][downloads-url]
5+
[![NPM license][license-image]]()
6+
37
StickyNav会在页面到达导航条位置的时候吸顶,超过父容器高度后恢复
48

59
## Demo
@@ -111,10 +115,10 @@ methods:{
111115

112116
</div>
113117
```
114-
::: Tip
115-
116-
当前选中会添加 `active` 样式
118+
# License
117119

118-
展开全部分类后添加`showAll` 样式
120+
MIT
119121

120-
:::
122+
[downloads-image]: https://img.shields.io/npm/dm/vue-sticky-nav
123+
[downloads-url]: https://www.npmjs.com/package/vue-sticky-nav
124+
[license-image]:https://img.shields.io/npm/l/vue-sticky-nav

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-sticky-nav",
33
"description": "A mobile friendly sticky nav compontents for Vue.js",
4-
"version": "1.1.9",
4+
"version": "1.2.3",
55
"author": "jiel1988 <191754186@qq.com>",
66
"license": "MIT",
77
"private": false,
@@ -13,8 +13,7 @@
1313
"dependencies": {
1414
"@tweenjs/tween.js": "^18.3.2",
1515
"lodash": "^4.17.15",
16-
"vue": "^2.6.10",
17-
"vue-sticky-nav": "^1.1.9"
16+
"vue": "^2.6.10"
1817
},
1918
"browserslist": [
2019
"Android >= 4.4",

0 commit comments

Comments
 (0)