S
S
Sergeyjed2019-03-11 16:55:23
Vue.js
Sergeyjed, 2019-03-11 16:55:23

Vue.js how to delay transition while page is loading?

I'm doing a Spa on vue.js when navigating through the pages, for a moment you can see how the background image did not appear, and so on. How to delay while the page is loading? Here's how on regular sites, after clicking on the link, it does not immediately go

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Ska1n, 2019-03-11
@Ska1n

Create an animation curtain that closes all content and manipulate it through the page's beforeEnter in vue-router

N
Nikita Dergachov, 2019-03-11
@vanillathunder

Example .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question