mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-24 09:35:42 +00:00
b77c9be36f
* bump prettier/eslint-plugin * bump nuxt pwa * use typed imports * set vue version to fix layout errors * disable import
18 lines
368 B
Vue
18 lines
368 B
Vue
<script setup lang="ts">
|
|
import type { TreeItem } from "~~/lib/api/types/data-contracts";
|
|
|
|
type Props = {
|
|
locs: TreeItem[];
|
|
treeId: string;
|
|
};
|
|
|
|
defineProps<Props>();
|
|
</script>
|
|
|
|
<template>
|
|
<div class="p-4 border-2 root">
|
|
<LocationTreeNode v-for="item in locs" :key="item.id" :item="item" :tree-id="treeId" />
|
|
</div>
|
|
</template>
|
|
|
|
<style></style>
|