[Vuejs]-What is the best way to refresh my Vue.js Component

0👍

Try this magic spell:

vm.$forceUpdate();

or

you can also use :key="someVariableUnderYourControl" and change the key when you want to component to be completely rebuilt.

reference : Can you force Vue.js to reload/re-render?

Leave a comment