Skip to content

Instantly share code, notes, and snippets.

@reginaldojunior
Created June 6, 2018 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reginaldojunior/3fe538c95590f05fe83390d522273f6d to your computer and use it in GitHub Desktop.
Save reginaldojunior/3fe538c95590f05fe83390d522273f6d to your computer and use it in GitHub Desktop.
HelloWorld.vue
<template>
<div class="hello">
<h1>{{ msg }}</h1>
<h2>{{ name }}</h2>
</div>
</template>
<script>
export default {
name: 'HelloWorld',
data () {
return {
msg: 'Welcome to World of Vue.js',
name: 'Digite seu Nome'
}
}
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped></style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment