Example using supabase and Svelte. You can see details in this blog post: https://geoexamples.com/svelte/2021/07/18/svelte-supabase-maps.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<title>Svelte app</title>
<link rel='icon' type='image/png' href='/favicon.png'>
<link rel='stylesheet' href='./global.css'>
<link rel='stylesheet' href='./bundle.css'>
<script defer src='./bundle.js'></script>
</head>
<body>
</body>
</html>