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
    1. Home
    2. Oren
    O
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Groups 0

    Oren

    @Oren

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Oren Follow

    Latest posts made by Oren

    • RE: How to speed up page change ?

      @yamland Maybe it’s a little bit too late for this topic, but I figured an easy way to “pre-render” pages. Given the fact that /src/App.vue will run only once at the app bootup, we can do a few $router.push in the created hook in /src/App.vue. And because we are using <keep-alive></keep-alive> for router-views, we can keep the rendered pages even if we route back to “/”. So from the view of users, only home screen is shown. Implementation is pretty simple.

      created () {
        this.$router.push('page1').then(() => {
          this.$router.push('page2').then(() => {
            this.$router.push('/')
          })
        })
      }
      
      posted in Help
      O
      Oren