Skip to content

Instantly share code, notes, and snippets.

@kevinnio
Created April 26, 2019 23:17
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 kevinnio/1e97f944b3de15ad3b5cfbba02f5fa6f to your computer and use it in GitHub Desktop.
Save kevinnio/1e97f944b3de15ad3b5cfbba02f5fa6f to your computer and use it in GitHub Desktop.
<div id="app">
<button v-bind:disabled="disabled">A button</button>
<input type="text" v-bind:value="text"/>
<input type="checkbox" v-bind:checked="checked"/>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script>
const options = {
el: '#app',
data: {
disabled: true,
text: 'Lorem Ipsum',
checked: 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