Waiting for the page to load before navigating to the route?
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 last edited by dobbel
This might help for pages. You could extend this to open any dialogs.