vue-navigation icon indicating copy to clipboard operation
vue-navigation copied to clipboard

Multiple component instances get created

Open samsoft05 opened this issue 6 years ago • 0 comments

This library works great, except it has a side effect. When we navigate back using back button it works fine but when we visit any page using router link, it basically renders that component multiple times

vnode.data.keepAlive = true;

I see, this is the code which causes this problem. Is there any workaround for this issue?

samsoft05 avatar Jul 06 '18 09:07 samsoft05