mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-07-08 05:04:10 -05:00
Set the default active class for router links
This makes the selected region in the Splatfest history dropdown appear correctly.
This commit is contained in:
parent
00a9f68654
commit
5552a244e3
|
|
@ -14,7 +14,7 @@
|
|||
class="font-splatoon2 is-right-tablet"
|
||||
trigger-class="button is-clear font-splatoon2"
|
||||
>
|
||||
<router-link v-for="region in regions" class="dropdown-item" :key="region.key" :to="region.route">
|
||||
<router-link v-for="region in regions" class="dropdown-item" :key="region.key" :to="region.route" exact>
|
||||
{{ region.name }}
|
||||
</router-link>
|
||||
</DropdownBase>
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ const routes = [
|
|||
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
linkActiveClass: 'is-active',
|
||||
routes,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user