Skip to content

Instantly share code, notes, and snippets.

@ChadTaljaardt
Created September 27, 2016 18:28
Show Gist options
  • Save ChadTaljaardt/c22fa7c9c50c70fdf51bb05d487f1b9d to your computer and use it in GitHub Desktop.
Save ChadTaljaardt/c22fa7c9c50c70fdf51bb05d487f1b9d to your computer and use it in GitHub Desktop.
<style>
</style>
<template>
</template>
<script>
import Item from './Item.vue';
export default {
data = () => ({
name: 'My Tree',
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' }
]
}
]
}
]
})
}
</script>
// u need add component to vue instance .. i cant fix this from github live editor lol :D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment