No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Official way to use Composition API in Vue 2 and Quasar 1.x?

    Framework
    2
    2
    553
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ben Hayat
      Ben Hayat last edited by

      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!

      metalsadman 1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman @Ben Hayat last edited by

        @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)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post