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()" 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();