<template>
  <sidebar-item
    v-for="(route, index) in props.menuItem"
    :key="route.path + index"
    :item="route"
    :base-path="route.path"
  />
</template>

<script setup>
import SidebarItem from './SidebarItem';
const props = defineProps({
    menuItem: {
      type: Object,
    },
})
</script>

<style lang="scss" scoped>
</style>
