Last active
February 3, 2018 15:56
-
-
Save Siemko/e0d2b44f3ca40e1a09195f0ca96aed3e to your computer and use it in GitHub Desktop.
Field definition in Vue.js
This file contains hidden or 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
<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