Skip to content

Instantly share code, notes, and snippets.

@Siemko
Last active February 3, 2018 15:56
Show Gist options
  • Save Siemko/e0d2b44f3ca40e1a09195f0ca96aed3e to your computer and use it in GitHub Desktop.
Save Siemko/e0d2b44f3ca40e1a09195f0ca96aed3e to your computer and use it in GitHub Desktop.
Field definition in Vue.js
<template>
<div class="field">
<label class="label">Employer</label>
<div class="control">
<input class="input" type="text" v-model="employer" />
</div>
</div>
</template>
<script>
export default {
data() {
return {
employer: "Gorrion"
};
},
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment