vuejs / vuex

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

Question: Access store getters from router in vex 4 #2169

Closed PierreBrisorgueil closed 2 years ago

PierreBrisorgueil commented 2 years ago

Hey, just a question, since the migration to Vuex 4 I couldn't find a clean example of accessing the getters from the view-router, like in beforeEach 🤔

Any suggestion/example?

Thx fo your time.

vue-bot commented 2 years ago

Hello, thank you for taking time filling this issue!

However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).

I hope to see your helper-created issue very soon!

PierreBrisorgueil commented 2 years ago

Issues Helper doesn't allow us to ask questions. & discussion section is not activated.

cuebit commented 2 years ago

Jump on the Discord channel if you have questions https://chat.vuejs.org