You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
504 B
29 lines
504 B
2 years ago
|
import Vue from 'vue'
|
||
|
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)
|
||
|
}
|
||
|
|
||
|
install(Vue)
|
||
|
|
||
|
var isVue2 = true
|
||
|
var isVue3 = false
|
||
|
var Vue2 = Vue
|
||
|
var version = Vue.version
|
||
|
|
||
|
/**VCA-EXPORTS**/
|
||
|
export * from '@vue/composition-api/dist/vue-composition-api.mjs'
|
||
|
/**VCA-EXPORTS**/
|
||
|
|
||
|
export {
|
||
|
Vue,
|
||
|
Vue2,
|
||
|
isVue2,
|
||
|
isVue3,
|
||
|
version,
|
||
|
install,
|
||
|
}
|