Created
January 19, 2017 12:07
-
-
Save RemeJuan/7492ba8de4694294368c40263de8100f to your computer and use it in GitHub Desktop.
This file contains 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> | |
<form novalidate @submit.stop.prevent="submit"> | |
<label>Search term...</label> | |
<input v-model="term.value"></input> | |
</form> | |
</template> | |
<script> | |
export default { | |
name: 'Search', | |
props: ['submit', 'term'], | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment