Level 3
Have a look at the two examples in the official docs: https://router.vuejs.org/en/advanced/data-fetching.html
2 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi. Does anyone know is there any event fired when we click router link and is there event when content loaded in Vue2. I want to show preloader because when page loads little bit slow seems that nothing is happening
Thanks. Found this one. Actually this is exactly what I want. https://router.vuejs.org/en/advanced/navigation-guards.html
Please or to participate in this conversation.