mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
13 lines
275 B
Vue
13 lines
275 B
Vue
|
<script setup lang="ts">
|
||
|
import VPMenuLink from './vp-menu-link.vue'
|
||
|
import { useNav } from '../../composables/nav'
|
||
|
|
||
|
const navs = useNav()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<nav v-if="navs" class="navbar-menu">
|
||
|
<VPMenuLink v-for="item in navs" :item="item" />
|
||
|
</nav>
|
||
|
</template>
|