Answer the question
In order to leave comments, you need to log in
How to reload a VueJS component?
Hi connoisseurs :)
This is how I have caching enabled for two components through the route.
All OK. But sometimes I need to delete the cache and reload the component.
<keep-alive include="page1, page2">
<router-view></router-view>
</keep-alive>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question