Last active
December 4, 2017 11:24
-
-
Save vouill/a3994db88a774c25695b124432ebabc4 to your computer and use it in GitHub Desktop.
Login template Vue
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> | |
<div> | |
<form class="login" @submit.prevent="login"> | |
<h1>Sign in</h1> | |
<label>User name</label> | |
<input required v-model="username" type="text" placeholder="Snoopy"/> | |
<label>Password</label> | |
<input required v-model="password" type="password" placeholder="Password"/> | |
<hr/> | |
<button type="submit">Login</button> | |
</form> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment