Error is "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
Followed all steps : Laravel 9 (with Vite) and Vue 3 integration [For Metronic v8.1.6+]
so after that I am getting error : getActivePinia()....
Note that I do not want to use RouterView. i want to use InertiaJS for this. So I will define my routes on laravel and vue js will render that.
So do you have any support for me to use that..
getActivePinia() This issue was coming when i was using InertiaJs to render the vue pages. so I removed this. now issue is fixed.
After a long time, i fixed some issues. I removed InertiaJS code and used RouteView ( Vue-route) so that I could render my pages...
But there is another issue that is happening that is 2 routes files. 1st is in Vue JS and 2nd is in laravel route.
--------------------------------------------- My Quetion is -----------------
Is it possible to use only the Laravel route instead of the Vue-Route ????
Hi,
Sorry for the late reply.
The approach outlined in our Vue + Laravel integration is the only method we've tested so far, and it is designed to work with Vue Router.
To use Laravel routing you can render separate pages using InertiaJs but it will require you to move the logic from Pania modules to your server.
Regards,
Lauris Stepanovs,
Keenthemes Support Team