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
+23-8Lines changed: 23 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9,29 +9,44 @@ English | [中文](./README.zh-CN.md) · [**Composition API Docs**](https://comp
9
9
10
10
## Installation
11
11
12
+
### NPM
13
+
12
14
```bash
13
15
npm install @vue/composition-api
14
16
# or
15
17
yarn add @vue/composition-api
16
18
```
17
19
18
-
**CDN**
20
+
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.
The package will be exposed to global variable `window.vueCompositionApi`
25
41
26
-
## Usage
27
-
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.
0 commit comments