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

    quasar is automatically addding '#/' at the end of each route.

    Help
    3
    4
    468
    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
      priosshrsth last edited by

      I am trying quasar for the first time. So, this happened on the new installation, without any modification. It’s adding ‘#/’ in every route. So, if I add path ‘/about’ to my route file and open ‘/about’ in browser the, it redirects to ‘/about#/’ and 404 error page is rendered instead.

      1 Reply Last reply Reply Quote 0
      • J
        jraez last edited by

        It’s html5 routing, not related to quasar, I assume you use vue-router.
        You URL should look like http://domain/#/ or http://domain/#/about

        1 Reply Last reply Reply Quote 0
        • V
          Venturix last edited by

          In your quasar.conf.js file, search “vueRouterMode” and put the value to ‘history’, default is ‘hash’

          P 1 Reply Last reply Reply Quote 0
          • P
            priosshrsth @Venturix last edited by

            @Venturix Thanks you very much.

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