Skip to content

Instantly share code, notes, and snippets.

@vouill

vouill/login.html

Last active Dec 4, 2017
Embed
What would you like to do?
Login template Vue
<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
You can’t perform that action at this time.