inital Quazar setup

This commit is contained in:
2022-04-09 12:58:31 -05:00
parent 97d5ff6ea2
commit 9e92c80973
10 changed files with 187 additions and 29 deletions

33
src/pages/Login.vue Normal file
View File

@@ -0,0 +1,33 @@
<script setup lang="ts">
import { ref } from 'vue'
import { useAuth0 } from '@auth0/auth0-vue';
defineProps<{ msg: string }>()
const { loginWithRedirect } = useAuth0();
const login = () => {
loginWithRedirect();
}
</script>
<template>
<h1>{{ msg }}</h1>
<button @click="login">Log in</button>
</template>
<style scoped>
button {
background-color: #215b8a; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 32px;
border-radius: 5px;
}
</style>