Vuex: proposal - add examples work with vue-class-component

Created on 10 Apr 2016  路  4Comments  路  Source: vuejs/vuex

Most helpful comment

yah, im interested in this, like how can you use mapActions, or mapGetters, etc. when you are on a class, not in an object

All 4 comments

Hi @coderhaoxin, could you provide some more information on why this might be useful for the users of vuex?

I use vue with vue-class-component, it's awesome if there are some simple demos work with vue-class-component. That will be helpful for some guys just get a glance at vuex.

But there is no significant advantage, so, just a proposal.

yah, im interested in this, like how can you use mapActions, or mapGetters, etc. when you are on a class, not in an object

The same issue in _vue-class-component_ repo : https://github.com/vuejs/vue-class-component/issues/56

Was this page helpful?
0 / 5 - 0 ratings