Originally published at: Using Vuex with InertiaJS - Server Side Up
If you haven’t used InertiaJS before, I’d highly recommend checking it out. It allows you to put together an app in no time at all, saves the headache of structuring an SPA if you don’t need it, and allows you to use VueJS (or other popular frontend frameworks) as your templating engine. And of course,…
Can you please show a code example or link to a github example of this
I followed all steps and everything works fine , I am using composition api and I use
this.$store it gives me undefined ?!!! do you have any idea .
Thanks in advance.
I know that useStore is the equivalent of retrieving this.$store within a component in the Option API but I don’t it doesnt work.