How to integrate inertiaJS?
-
Hi there!
I want to integrate inertiaJS in my quasar frontend for using with my laraval backend. My problem is now, I have no manual createApp declaration as described in https://inertiajs.com/client-side-setup because all is generated by quasar.
So, what is the right code conversation for using with quasar? I think I have to write a boot file for integration, right? But how is that done for the inertiajs given example?p7
-
I don’t think inertialJS will work together with Quasar CLI( with or without a boot file) because it looks like inertialJS wants to control the whole app…so does Quasar in CLI mode.
You could use Quasar in
UMD
mode for existing apps:
https://quasar.dev/start/umd#Introduction -
Hm. When I look into the automatic generated app.js by quasar-cli, i see that lines:
const app = { router, store, render: h => h(App) }
It doesn’t look like there is anything special which could produce a conflict with quasar. If possible, I would like to use the cli (I create a new app), because it regulates a lot of things, which is good. In principle, this is only about this exceptional case.