Skip to content

Instantly share code, notes, and snippets.

Last active Dec 4, 2017
What would you like to do?
Login template Vue
<form class="login" @submit.prevent="login">
<h1>Sign in</h1>
<label>User name</label>
<input required v-model="username" type="text" placeholder="Snoopy"/>
<input required v-model="password" type="password" placeholder="Password"/>
<button type="submit">Login</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment