index.mjs 504 B

12345678910111213141516171819202122232425262728
  1. import Vue from 'vue'
  2. import VueCompositionAPI from '@vue/composition-api/dist/vue-composition-api.mjs'
  3. function install(_vue) {
  4. _vue = _vue || Vue
  5. if (_vue && !_vue['__composition_api_installed__'])
  6. _vue.use(VueCompositionAPI)
  7. }
  8. install(Vue)
  9. var isVue2 = true
  10. var isVue3 = false
  11. var Vue2 = Vue
  12. var version = Vue.version
  13. /**VCA-EXPORTS**/
  14. export * from '@vue/composition-api/dist/vue-composition-api.mjs'
  15. /**VCA-EXPORTS**/
  16. export {
  17. Vue,
  18. Vue2,
  19. isVue2,
  20. isVue3,
  21. version,
  22. install,
  23. }