No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to integrate inertiaJS?

    Help
    2
    3
    1021
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      prodigy7 last edited by

      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

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @prodigy7 last edited by

        @prodigy7

        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

        1 Reply Last reply Reply Quote 0
        • P
          prodigy7 last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post