use router-link to vue code example Example: vue router link <router-link to="/home">Home</router-link>