Official way to use Composition API in Vue 2 and Quasar 1.x?
-
Hello team;
Could you please provide an official guidelines how to use the ```
@vue/composition-api plugin in Quasar 1.x?Do we use boot file or is there a Quasar plugin or other way?
Thanks! -
@ben-hayat yes just register it in a boot and put the installation code they have at https://github.com/vuejs/composition-api#installation in it.
import Vue from ‘vue’
import VueCompositionAPI from ‘@vue/composition-api’
Vue.use(VueCompositionAPI)