Skip to content

Commit 31aeb1b

Browse files
author
tangjinzhou
authored
Update README.md
1 parent c3cb097 commit 31aeb1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# vue-ref
22
You can use the callback to get a reference like react.
33

4+
[![NPM version](https://img.shields.io/npm/v/vue-ref.svg?style=flat)](https://npmjs.org/package/vue-ref) [![NPM downloads](http://img.shields.io/npm/dm/vue-ref.svg?style=flat)](https://npmjs.org/package/vue-ref)
5+
46
```bash
57
$ npm install vue-ref --save
68
```
@@ -25,4 +27,4 @@ Vue.use(ref)
2527
| v-ref | a callback function | function(dom \| vnode, key) |
2628

2729
###
28-
In this callback function, you should not change any reactive data. Otherwise the `render` will enter an infinite loop.
30+
In this callback function, you should not change any reactive data. Otherwise the `render` will enter an infinite loop.

0 commit comments

Comments
 (0)