Changed Backend to Supabase

This commit is contained in:
2023-11-26 17:15:55 +01:00
parent 8b76434b41
commit cb3d48d42c
22 changed files with 1420 additions and 346 deletions

View File

@@ -6,9 +6,16 @@
definePageMeta({
middleware: "auth"
})
const {find} = useStrapi4()
const response = await find('customers')
console.log(response)
const supabase = useSupabaseClient()
const tasks = (await supabase.from("tasks").select()).data
const user = useSupabaseUser()
console.log(user)
console.log(tasks)
</script>
<style scoped>