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

    Regarding history mode.

    Framework
    1
    3
    284
    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.
    • shiba
      shiba last edited by

      Hi, there

      I am a beginner in Quasar and English.

      @quasar/cli 1.0.3
      Laravel 8.1

      Please tell me about the History mode of VueRouter.

      1. changed the router mode to history.
          // Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build
          build: {
            vueRouterMode: 'history', // available values: 'hash', 'history'
      
      1. Added definition in web.php
      Route::get('/{any}', function () {
          return view('index');
      })->where('any', '.*');
      

      The problem I’m facing is that the screen goes white because the setup method isn’t called after the screen transition.
      What should I do?

      d921ab13-c2dc-486b-8d27-578e5e5a205b-image.png

      1 Reply Last reply Reply Quote 0
      • shiba
        shiba last edited by

        By the way, the content is displayed when I reload it.

        1 Reply Last reply Reply Quote 0
        • shiba
          shiba last edited by

          I made a mistake.
          The problem was that the routing file is wrong.
          thanks.

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