Skip to content

Instantly share code, notes, and snippets.

@kevinnio
Created April 26, 2019 22:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
<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