You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-11Lines changed: 8 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,6 @@ Vue 2 plugin for **Composition API**
7
7
8
8
English | [中文](./README.zh-CN.md) · [**Composition API Docs**](https://composition-api.vuejs.org/)
9
9
10
-
</p>
11
-
12
10
## Installation
13
11
14
12
```bash
@@ -27,22 +25,21 @@ The package will be exposed to global variable `window.vueCompositionApi`
27
25
28
26
## Usage
29
27
30
-
You must install `@vue/composition-api` via `Vue.use()` before using other APIs:
28
+
You must install `@vue/composition-api` via `Vue.use()` before you can use the [Composition API](https://composition-api.vuejs.org/) to compose your component.
Due the the limitation of Vue2's public API. `@vue/composition-api` inevitably introduced some extract costs. This should not concern you in most of the cases.
91
+
Due the the limitation of Vue2's public API. `@vue/composition-api` inevitably introduced some extract costs.
95
92
96
-
You can check the [benchmarks](https://antfu.github.io/vue-composition-api-benchmark-results/)that comparing with Vue 2's option API and vue-next.
93
+
You can check the [benchmark results](https://antfu.github.io/vue-composition-api-benchmark-results/)for more details.
97
94
98
95
99
96
### `Ref` Unwrap
@@ -295,7 +292,7 @@ import VueCompositionApi from '@vue/composition-api';
0 commit comments