Skip to content

Instantly share code, notes, and snippets.

@ErikCH
Created February 10, 2020 04:15
Show Gist options
  • Save ErikCH/de17c57d89733239279645d2633deb7f to your computer and use it in GitHub Desktop.
Save ErikCH/de17c57d89733239279645d2633deb7f to your computer and use it in GitHub Desktop.
<div id="app"></div>
<script src="vue.global.js"></script>
<script>
const MyComponent = {
data: {
name: 'Erik'
},
template: `<h1>{{ name }}</h1>`
}
Vue.createApp(MyComponent).mount('#app')
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment