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

    Capacitor Router HistoryMode

    Help
    3
    5
    450
    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.
    • G
      g_hult last edited by g_hult

      Hello!

      Perhaps this is a limitation with capacitor but I thought I’d ask. In quasar.conf.json I set
      vueRouterMode: 'history' and it works fine in SPA mode.
      When I run it on Android or iOS it reverts back to hash based routing though.
      Is it possible somehow to use history-mode even on native platforms?

      Cheers

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

        @g_hult

        Definitely supported in capacitor according to their doc:

        https://capacitorjs.com/docs/guides/deep-links#vue

        G 1 Reply Last reply Reply Quote 1
        • G
          g_hult @dobbel last edited by

          @dobbel
          Strange, it seems to be the preferred approach even.

          1 Reply Last reply Reply Quote 0
          • D
            diadal last edited by

            @g_hult where you able to fix this am facing this issue too

            1 Reply Last reply Reply Quote 0
            • D
              diadal last edited by

              I make a change in the index.js @ router folder to use only history

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