mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
879 B
41 lines
879 B
<script setup lang="ts"> |
|
import { ref } from 'vue' |
|
import { useToast } from 'primevue/usetoast' |
|
const text = ref() |
|
const toast = useToast() |
|
const greet = () => { |
|
toast.add({ severity: 'info', summary: `Hello ${text.value}` }) |
|
} |
|
</script> |
|
|
|
<template> |
|
<div class="container"> |
|
<Card style="width:500px"> |
|
<template #title> |
|
Signup |
|
</template> |
|
<template #content> |
|
<InputText v-model="value" type="text" label="Email" /> |
|
</template> |
|
<template #footer> |
|
<Button label="Small" icon="pi pi-check" class="p-button-sm" /> |
|
</template> |
|
</Card> |
|
</div> |
|
</template> |
|
|
|
<style lang="scss"> |
|
.container { |
|
margin: 0 auto; |
|
min-height: 100vh; |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
div { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
margin-top: 1rem; |
|
} |
|
} |
|
</style>
|
|
|