Files
coolify/src/routes/__error.svelte
Andras Bacsai 23a4ebb74a 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
2021-05-14 21:51:14 +02:00

15 lines
238 B
Svelte

<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>