This commit is contained in:
Henry Jameson 2022-08-31 00:58:03 +03:00
parent 98f97ff9a9
commit 73abae1b3e
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
<template> <template>
<OptionalRouterLink <OptionalRouterLink
v-slot="{ isActive, href, navigate } = {}"
ass="ass" ass="ass"
:to="routeTo" :to="routeTo"
v-slot="{ isActive, href, navigate } = {}"
> >
<li <li
class="NavigationEntry menu-item" class="NavigationEntry menu-item"
@ -10,8 +10,8 @@
v-bind="$attrs" v-bind="$attrs"
> >
<component <component
class="main-link button-unstyled"
:is="routeTo ? 'a' : 'button'" :is="routeTo ? 'a' : 'button'"
class="main-link button-unstyled"
:href="href" :href="href"
@click="navigate" @click="navigate"
> >

View File

@ -1,10 +1,10 @@
<template> <template>
<!-- eslint-disable vue/no-multiple-template-root --> <!-- eslint-disable vue/no-multiple-template-root -->
<router-link <router-link
v-if="to" v-if="to"
v-slot="props"
:to="to" :to="to"
custom custom
v-slot="props"
> >
<slot <slot
v-bind="props" v-bind="props"