Skip to content

Instantly share code, notes, and snippets.

@rajatk16
Created July 11, 2018 11:43
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 rajatk16/ee6212a5e76d4a0fcde8e8287decffd4 to your computer and use it in GitHub Desktop.
Save rajatk16/ee6212a5e76d4a0fcde8e8287decffd4 to your computer and use it in GitHub Desktop.
<script>
import { required, email } from 'vuelidate/lib/validators'
export default {
data: function() {
return {
emailValue: '',
password : ''
}
},
validations: {
emailValue: {
required,
email
},
password: {
required
}
},
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment