mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(cli): support custom className of nav item (#8754)
This commit is contained in:
parent
a47e1f5202
commit
16b47aa830
@ -3,7 +3,7 @@
|
|||||||
<div class="demo-home-nav__title">{{ group.title }}</div>
|
<div class="demo-home-nav__title">{{ group.title }}</div>
|
||||||
<div class="demo-home-nav__group">
|
<div class="demo-home-nav__group">
|
||||||
<router-link
|
<router-link
|
||||||
class="demo-home-nav__block"
|
:class="['demo-home-nav__block', navItem.className]"
|
||||||
v-for="navItem in group.items"
|
v-for="navItem in group.items"
|
||||||
:key="navItem.path"
|
:key="navItem.path"
|
||||||
:to="`${base}/${navItem.path}`"
|
:to="`${base}/${navItem.path}`"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user