<template>
  <div>
    <lx-tree :item='treeData'></lx-tree>
  </div>
</template>

<script>
import LxTree from "./components/LxTree/LxTree.vue";
export default {
  data() {
    return {
      treeData:{
        name: "My Projects",
        children: [
          { name: "hello" },
          { name: "wat" },
          {
            name: "child folder",
            children: [
              {
                name: "child folder",
                children: [{ name: "hello" }, { name: "wat" }]
              },
              { name: "hello" },
              { name: "wat" },
              {
                name: "child folder",
                children: [{ name: "hello" }, { name: "wat" }]
              }
            ]
          }
        ]
      }
    };
  },
  components: { LxTree },
};
</script>

<style scoped>
</style>