Skip to content
Permalink
Browse files

hello component

  • Loading branch information...
jshawl committed Feb 1, 2017
1 parent acd19c5 commit 88346c58a43892ac11bf4c3be48cf5502c302c5d
Showing with 11 additions and 1 deletion.
  1. +11 −1 index.html
@@ -4,8 +4,18 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.1.10/vue.min.js"></script>
</head>
<body>
<div id='app'></div>
<div id='app'>
<tree></tree>
</div>
<script type='x-template' id='tree'>
<div>
Hello
</div>
</script>
<script>
Vue.component('tree',{
template: '#tree'
})
new Vue({
el: '#app'
})

0 comments on commit 88346c5

Please sign in to comment.
You can’t perform that action at this time.