Skip to content

Commit bde0b12

Browse files
author
Sebastián González
authored
fix(<2.7): Install composition API on provided vue instance (#185)
1 parent 2f80cd7 commit bde0b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/v2/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import VueCompositionAPI from '@vue/composition-api/dist/vue-composition-api.mjs
44
function install(_vue) {
55
_vue = _vue || Vue
66
if (_vue && !_vue['__composition_api_installed__'])
7-
Vue.use(VueCompositionAPI)
7+
_vue.use(VueCompositionAPI)
88
}
99

1010
install(Vue)

0 commit comments

Comments
 (0)