Inital supabase client set up

This commit is contained in:
Roman Krček
2025-05-30 09:31:21 +02:00
parent 72713ff5d7
commit 51dbfcc1bb
2 changed files with 48 additions and 1 deletions

View File

@@ -1 +1,16 @@
<p>hello world</p>
<script lang="ts">
import { onMount } from 'svelte';
let data = $props();
onMount( async () => {
await handleClick();
});
async function handleClick() {
console.log( await data.data.supabase.from('qrcodes').select().eq('id', "4b461fd7-d7db-4739-8ca0-6e78cc299813"));
}
</script>
<p>hello world</p>