use exact active class
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
v-for="(tab, idx) in tabs()"
|
v-for="(tab, idx) in tabs()"
|
||||||
:key="idx"
|
:key="idx"
|
||||||
class="tab-item"
|
class="tab-item"
|
||||||
active-class="active"
|
exact-active-class="active"
|
||||||
>{{ tab.title }}</router-link
|
>{{ tab.title }}</router-link
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -58,6 +58,10 @@ const tabGroups = [
|
|||||||
{ title: "Terms and Conditions", to: "/terms-and-conditions" },
|
{ title: "Terms and Conditions", to: "/terms-and-conditions" },
|
||||||
{ title: "Privacy", to: "/privacy" },
|
{ title: "Privacy", to: "/privacy" },
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
{ title: "Connect", to: "/minecraft" },
|
||||||
|
{ title: "Curves", to: "/minecraft/curve" },
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
|||||||
Reference in New Issue
Block a user