Skip to content

Instantly share code, notes, and snippets.

@johnleider
Created November 13, 2018 23:07
Show Gist options
  • Save johnleider/3b5f60317c55bc5ad0131b61d03b0ca8 to your computer and use it in GitHub Desktop.
Save johnleider/3b5f60317c55bc5ad0131b61d03b0ca8 to your computer and use it in GitHub Desktop.
window bug
<template>
<boilerplate>
<v-layout align-center justify-center>
<v-card class="pa-3" width="500">
<v-chip
class="elevation-0"
outline
@click="step = 0"
>
<v-icon
color="primary"
left
>account_circle</v-icon>
<span
class="body-2"
v-text="'[email protected]'"
/>
<v-icon
color="black"
right
>
keyboard_arrow_down
</v-icon>
</v-chip>
<v-window v-model="step">
<v-window-item>
<div>
<email
v-model="email"
@next="step = 1"
/>
</div>
</v-window-item>
<v-window-item>
<div>
<password
v-model="password"
@next="step = 0"
/>
</div>
</v-window-item>
</v-window>
</v-card>
</v-layout>
</boilerplate>
</template>
<script>
import Email from './Email'
import Password from './Password'
export default {
components: {
Email,
Password
},
data: () => ({
email: undefined,
password: undefined,
step: 0
}),
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment