refresh the page in vue js code example
Example 1: Vue.js force to reload re-render
this.$forceUpdate();
Example 2: vue router refresh page
this.$router.go() // Refreshes page
this.$forceUpdate();
this.$router.go() // Refreshes page