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

    Waiting for the page to load before navigating to the route?

    Help
    2
    2
    277
    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.
    • A
      ahmadx87 last edited by

      I’m developing an app, when the app navigates to a new route it instantly goes to that route and then the app begins loading images and page components. I am not using Lazy loading/code splitting (in routes.js). In Cordova app mode it just takes a few milliseconds to show the images or load the component but it would be nice If the page loaded before navigating to the page.
      Generally is it possible to preload and prepare some components before showing them? For instance prepare a q-dialog before user clicks a button to open it, so that the animation is smooth and nice.
      How can I do that?
      Thanks in advance!

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

        @ahmadx87

        This might help for pages. You could extend this to open any dialogs.

        https://forum.quasar-framework.org/topic/3603/how-to-speed-up-page-change/7

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