Remove link component, use @apply
This commit is contained in:
parent
330c0476dd
commit
2d7496ce80
5 changed files with 5 additions and 12 deletions
|
@ -20,7 +20,7 @@
|
|||
<a
|
||||
v-for="item in navItems"
|
||||
:href="item.href"
|
||||
class="block p-4 border-l-3 sm:border-l-0 sm:border-b-3 border-transparent hover:border-grey-light sm:ml-4 sm:mr-0 sm:p-0 hover:no-underline"
|
||||
class="block text-black p-4 border-l-3 sm:border-l-0 sm:border-b-3 border-transparent hover:border-grey-light sm:ml-4 sm:mr-0 sm:p-0 hover:no-underline"
|
||||
:class="{
|
||||
'border-blue hover:border-blue': pageUrl.match(new RegExp(item.pattern)),
|
||||
}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue