Suppose we make this router
Home in the router file;
{
path: '/home',
name: 'Home',
component: Home
}
then you can use the router in three ways;
First
In first way use the router name like here router name is
'Home'
<pre><router-link :to="{ name:'Home'}">
<h4>{{ project.title}}</h4>
</router-link>
Second
In second way you can use any tag like button tag etc. and then you can use router like
to="/home";
<v-btn to="/home">Home</v-btn>
Third
In third way, you can simply write the
router-link and then write the
to="/home"
<router-link to="/home">Home</router-link>
Hope you understand...