I do struggle a bit on this one and guess I'm just code bind right now.
Using latest vue router and vue2.
The issue is when a child of a parent is dependent on a prop and you click refresh in the browser the prop is still waiting for the promise before the child is finished loading.
So I can't use the prop in a created function and it will fail.
How can I make router view wait for the data to load and the source data to be set before loading the child?
Vue router 2 wait for data when refreshing
I do struggle a bit on this one and guess I'm just code bind right now.
Using latest vue router and vue2.
The issue is when a child of a parent is dependent on a prop and you click refresh in the browser the prop is still waiting for the promise before the child is finished loading.
So I can't use the prop in a created function and it will fail.
How can I make router view wait for the data to load and the source data to be set before loading the child?