3👍
Add routes to your project
// routes example
[
{ path: '/', component: Main }, // some main component here
{ path: '/results', component: Res } // your Res component
]
Do not forget past <router-view /'>
into App.vue
Use to
property to create a linked button (you don’t need outer ‘a’ tag)
<v-btn to='/results' small color="blue">Click here to get results</v-btn>
Or :to='{name: 'results'}'
if you named your routes.
<v-btn :to='{name: "results"}' small color="blue">Click here to get results</v-btn>
👤NaN
- [Vuejs]-Vuetify App bar is below the contents. How do i fix it?
- [Vuejs]-How to render HTML from a property of items being displayed with v-for loop?
Source:stackexchange.com