Skip to content

Commit 022d091

Browse files
committed
readme update
1 parent b8db0e3 commit 022d091

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,16 @@ npm install @vueform/multiselect
113113

114114
## Usage with Vue 2
115115

116-
When using with Vue 2 make sure to install [@vue/composition-api](https://github.com/vuejs/composition-api#npm) first and change the imported module to:
116+
When using with Vue 2 install [@vue/composition-api](https://github.com/vuejs/composition-api#npm) first:
117+
118+
``` js
119+
import Vue from 'vue'
120+
import VueCompositionAPI from '@vue/composition-api'
121+
122+
Vue.use(VueCompositionAPI)
123+
```
124+
125+
Then make sure to change the imported module to:
117126

118127
``` js
119128
import Multiselect from '@vueform/multiselect/dist/multiselect.vue2.js'

0 commit comments

Comments
 (0)