mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
d8954f945e
* chore: make eslints work in docs folder * refactor(dev): improve eslint * fix eslint issue Co-authored-by: Kevin <sxzz@sxzz.moe> Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
13 lines
293 B
Vue
13 lines
293 B
Vue
<script setup lang="ts">
|
|
import { useNav } from '../../composables/nav'
|
|
import VPMenuLink from './vp-menu-link.vue'
|
|
|
|
const navs = useNav()
|
|
</script>
|
|
|
|
<template>
|
|
<nav v-if="navs" class="navbar-menu">
|
|
<VPMenuLink v-for="(item, key) in navs" :key="key" :item="item" />
|
|
</nav>
|
|
</template>
|