You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow the steps outlined here to upgrade a vue 2.x app using vuex to vue 3, and use @vue/compat v3.1.0-beta.7
What is expected?
The store is accessible in components via this.$store after migration build is installed and compiler errors are dealt with in the console.
What is actually happening?
this.$store is undefined in components after the migration build is installed and compiler errors are dealt with.
I could be reading the @vue/compat instructions incorrectly, but it seems from them that this shouldn't be happening. Am I wrong? I very well could be.
The text was updated successfully, but these errors were encountered:
Version
3.1.0-beta.7
Reproduction link
https://github.com/RyanClementsHax/vue-compat-vuex-bug
Steps to reproduce
Follow the steps outlined here to upgrade a vue 2.x app using vuex to vue 3, and use
@vue/compat v3.1.0-beta.7
What is expected?
The store is accessible in components via this.$store after migration build is installed and compiler errors are dealt with in the console.
What is actually happening?
this.$store is undefined in components after the migration build is installed and compiler errors are dealt with.
I could be reading the @vue/compat instructions incorrectly, but it seems from them that this shouldn't be happening. Am I wrong? I very well could be.
The text was updated successfully, but these errors were encountered: