Created
April 2, 2019 00:27
-
-
Save hassaku63/0e176d381f06491c18a954aa1bd2f909 to your computer and use it in GitHub Desktop.
vuetify-snippet-login-card.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
<v-container fuild fill-height> | |
<v-layout justify-center> | |
<v-flex xs12 sm8 md4> | |
<!-- login view --> | |
<v-card> | |
<v-toolbar dark flat> | |
<v-toolbar-title>Login Form</v-toolbar-title> | |
</v-toolbar> | |
<v-card-text> | |
<!-- login form --> | |
<v-form v-model='isFormValid'> | |
<v-text-field | |
v-model='username' | |
id='username' | |
name='username' | |
label='Usename' | |
type='text' | |
required> | |
</v-text-field> | |
<v-text-field | |
v-model='password' | |
id='password' | |
label='Password' | |
type='password' | |
required> | |
</v-text-field> | |
<v-spacer></v-spacer> | |
<v-card-actions> | |
<v-btn color='primary' @click='loginClicked'>Login</v-btn> | |
</v-card-actions> | |
</v-form> | |
<!-- login form --> | |
</v-card-text> | |
</v-card> | |
<!-- end login view --> | |
</v-flex> | |
</v-layout> | |
</v-container> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment