Skip to content

Commit

Permalink
fix(<2.7): Install composition API on provided vue instance (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastián González committed Aug 10, 2022
1 parent 2f80cd7 commit bde0b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v2/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import VueCompositionAPI from '@vue/composition-api/dist/vue-composition-api.mjs
function install(_vue) {
_vue = _vue || Vue
if (_vue && !_vue['__composition_api_installed__'])
Vue.use(VueCompositionAPI)
_vue.use(VueCompositionAPI)
}

install(Vue)
Expand Down

0 comments on commit bde0b12

Please sign in to comment.