use exact active class

This commit is contained in:
2023-04-24 10:35:28 +10:00
parent 51f0ad7497
commit 0755df03cf

View File

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