Updated nav link
This commit is contained in:
parent
fddfceb5e4
commit
152a199ee2
@ -37,7 +37,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- Menu Items -->
|
<!-- Menu Items -->
|
||||||
<div class="hidden md:flex space-x-3 justify-center items-center">
|
<div class="hidden md:flex space-x-3 justify-center items-center">
|
||||||
<Navlink :svgPath="route.meta.svgPath" :text="route.meta.title" :to="route.path" v-for="route in $router.options.routes" :key="route.path" />
|
<Navlink :svgPath="route.meta.svgPath" :text="route.meta.title" :to="route.path" v-for="route in $router.options.routes.filter( value => value.meta.index >= 0 )" :key="route.path" />
|
||||||
</div>
|
</div>
|
||||||
<Menu v-slot="{ open }" as="div" class="relative inline-block text-left md:hidden">
|
<Menu v-slot="{ open }" as="div" class="relative inline-block text-left md:hidden">
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
Reference in New Issue
Block a user