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