Skip to content

Instantly share code, notes, and snippets.

@DeaVenditama
Created October 21, 2020 14:18
Show Gist options
  • Save DeaVenditama/3756049fdf84dedd25a229302291873d to your computer and use it in GitHub Desktop.
Save DeaVenditama/3756049fdf84dedd25a229302291873d to your computer and use it in GitHub Desktop.
<template>
<h1>Hello World</h1>
<h4>Project Vue Pertama Saya</h4>
<h4>Nama Saya {{ nama }}</h4>
<h4>Umur Saya {{ umur }} tahun</h4>
</template>
<script>
export default {
data(){
return{
nama : "Dea Venditama",
umur : 17
}
},
mounted(){
this.umur = this.umur + 3;
}
}
</script>
<style scoped>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment