router.replace vuejs example Example: vue router push //Syntax - this.$router.push(path); this.$router.push("/path");