Skip to content

Commit 4c6ee15

Browse files
committed
docs: update readme
1 parent 7b40c1e commit 4c6ee15

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
> ⚡️ Awesome Vue Hooks
44
5-
Using [`vue-function-api`](https://github.com/vuejs/vue-function-api) to implement useful vue hooks.
5+
Using [`@vue/composition-api`](https://github.com/vuejs/composition-api) to implement useful vue hooks.
66
Vue 3.0 has not been released yet, it allows you to use functional-based components in advance.
77

8+
⚠️ 2.x has been switched to `@vue/composition-api`, if you are using version 1.x please use [`vue-function-api`](https://npmjs.com/vue-function-api)
9+
810
## Install
911

1012
```sh
11-
yarn add vue-function-api @u3u/vue-hooks
13+
yarn add @vue/composition-api @u3u/vue-hooks
1214
```
1315

1416
## Documentation [![Netlify Status](https://api.netlify.com/api/v1/badges/e93d1698-f766-4529-b8e0-91fa1162d4cb/deploy-status)](https://app.netlify.com/sites/vue-hooks/deploys)

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"vue",
1010
"vue-use",
1111
"vue-hooks",
12-
"vue-function-api"
12+
"vue-function-api",
13+
"vue-composition-api"
1314
],
1415
"main": "lib/index.js",
1516
"module": "esm/index.js",

0 commit comments

Comments
 (0)