Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template id="greeting-template">
- <h1>Welcome to coligo!</h1>
- <button>login</button>
- <button>signup</button>
- <a href="http://coligo.io">Check out the other tutorials!</a>
- </template>
- <script>
- Vue.component('mytemplate', {
- template: '#greeting-template'
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement