vuejs router link params code example
Example 1: vue router push
//Syntax - this.$router.push(path);
this.$router.push("/path");
Example 2: vuejs router params
<router-link :to="{ name: 'movie', params: { id: item.id } }">{{ item.title }}</router-link>