Created
October 21, 2020 14:18
-
-
Save DeaVenditama/3756049fdf84dedd25a229302291873d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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