Skip to content

Instantly share code, notes, and snippets.

@Siemko
Last active Feb 3, 2018
Embed
What would you like to do?
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