{
path: "/",
component: _2b8110ef,
name: "index"
},
{
path: "/about",
component: _49b83161,
name: "about"
},
<v-toolbar fixed :dense="true" class="primary" :dark="true" scroll-off-screen scroll-target="#scrolling-main">
<!-- <v-toolbar-side-icon @click.stop="drawer = !drawer"></v-toolbar-side-icon> -->
<v-toolbar-title>tester</v-toolbar-title>
<v-spacer></v-spacer>
<v-text-field prepend-icon="search" hide-details single-line></v-text-field>
<v-toolbar-items class="hidden-sm-and-down">
<v-btn to="/">Home</v-btn>
</v-toolbar-items>
<v-toolbar-items class="hidden-sm-and-down">
<v-btn to="/about">About</v-btn>
</v-toolbar-items>
</v-toolbar>
Home
button in toolbar, then click About
button.
Latest Vue 2.4.2
Latest Vuetify 0.14.11
Home
and About
button, because the About
page have the home page's path /
Did you try to add the exact
prop to v-btn
?
oh, I should try this property exact
. it worked .thanks very much your help . @jacekkarczmarczyk
I think vuetify's official example document is very limit :-1: ...
cool man.
thanks a lot.
this was the issue I was facing and didn't know how to resolve.
Again thanks a ton. 馃憤
Most helpful comment
Did you try to add the
exact
prop tov-btn
?