WIP for Prisma integration and account and membership schema

This commit is contained in:
Michael Dausmann
2023-01-29 01:06:01 +11:00
parent 7246c0c5a4
commit 791192a1ae
6 changed files with 200 additions and 3 deletions

View File

@@ -3,10 +3,13 @@
definePageMeta({
middleware: ['auth'],
});
const notes = await $fetch('/api/notes')
</script>
<template>
<div>
<h3>{{ user?.user_metadata.full_name }}'s Dashboard</h3>
<p v-for="note in notes">{{ note.note_text }}</p><!-- TODO - wtf.. typing-->
<div>Stuff</div>
</div>
</template>