How to use Vuex’s state/getters with composition-api in Vue component The composition-api is the next generation paradigm of Vue.js. I would say that it’ll be a standard way in Vue.js v3. But now, you can use it in a v2 project by using https://github.com/vuejs/composition-api package. We can easily find the way how to replace existing components with composition-api, but how can we use it with Vu