-
-
Save kevinnio/578719acb91e453e804d9c53f349943f 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
<div id="app"> | |
<span v-if="friend">Hello again, {{ name }}</span> | |
</div> | |
<script src="https://cdn.jsdelivr.net/npm/vue"></script> | |
<script> | |
const options = { | |
el: '#app', | |
data: { name: 'Vue', friend: true } | |
}; | |
const app = new Vue(options); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment