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