v1.0.12 - Sveltekit migration (#44)

Changed the whole tech stack to SvelteKit which means:
- Typescript 
- SSR
- No fastify :(
- Beta, but it's fine!

Other changes:
- Tailwind -> Tailwind JIT
- A lot more
This commit is contained in:
Andras Bacsai
2021-05-14 21:51:14 +02:00
committed by GitHub
parent cccb9a5fec
commit 23a4ebb74a
229 changed files with 7781 additions and 11333 deletions

15
src/routes/__error.svelte Normal file
View File

@@ -0,0 +1,15 @@
<script context="module">
export function load({ error, status }) {
return {
props: {
error: `${status}: ${error.message}`
}
};
}
</script>
<script>
export let error;
</script>
<h1 class="text-xl font-bold">{error}</h1>