Simplify everything to match supabase example and also downgrade supabase

This commit is contained in:
Michael Dausmann
2023-01-28 11:01:57 +11:00
parent edd65f1301
commit d19b713f25
11 changed files with 2034 additions and 1504 deletions

View File

@@ -1,11 +1,12 @@
<script setup lang="ts">
const user = await useSupabaseUser();
definePageMeta({
middleware: ['auth'],
layout: "authenticated",
});
</script>
<template>
<div>
<h3>Dashboard</h3>
<h3>{{ user?.user_metadata.full_name }}'s Dashboard</h3>
<div>Stuff</div>
</div>
</template>