Skip to content

Instantly share code, notes, and snippets.

@anoobbava
Created September 13, 2019 10:54
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 anoobbava/0a685b4d483f6c7a851df81bde4b43c9 to your computer and use it in GitHub Desktop.
Save anoobbava/0a685b4d483f6c7a851df81bde4b43c9 to your computer and use it in GitHub Desktop.
login vue file for blogging
<template>
<v-container
class="fill-height"
fluid
>
<v-row
align="center"
justify="center"
>
<v-col
cols="12"
sm="8"
md="4"
>
<v-card class="elevation-12">
<v-toolbar
dark
flat
>
<v-toolbar-title>Login form</v-toolbar-title>
<div class="flex-grow-1"></div>
<v-tooltip bottom>
</v-tooltip>
</v-toolbar>
<v-card-text>
<v-form>
<v-text-field
label="Login"
name="login"
type="text"
></v-text-field>
<v-text-field
id="password"
label="Password"
name="password"
type="password"
></v-text-field>
</v-form>
</v-card-text>
<v-card-actions>
<div class="flex-grow-1"></div>
<v-btn color="primary">Login</v-btn>
</v-card-actions>
</v-card>
</v-col>
</v-row>
</v-container>
</template>
<script>
export default {
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment