Navigation

    Quasar Framework

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

    Capacitor Router HistoryMode

    Help
    2
    3
    39
    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
          • First post
            Last post