vuejs / vuex

🗃️ Centralized State Management for Vue.js.
https://vuex.vuejs.org
MIT License
28.42k stars 9.58k forks source link

Need Vue Instance(this object) in Vuex Store(anywhere in Store) #2140

Open syedZohaibHussain opened 2 years ago

syedZohaibHussain commented 2 years ago

What problem does this feature solve?

It does not have Vue Instance(this object) where we can be under a singular object like I am using casl to maintain level access permission & I need to update on login every time but here I cannot get this.$ability for update the rules

What does the proposed API look like?

this feature solves many problems like mine for example https://stackoverflow.com/questions/60491988/how-to-access-vue-instance-in-vuex if this feature is available please tell me & accept my apologies