mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-14 20:14:39 +00:00
execute error page hooks
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
<script>
|
||||
import { onMount, onDestroy } from 'svelte'
|
||||
|
||||
export let status, error = {};
|
||||
|
||||
let mounted = false;
|
||||
|
||||
onMount(() => {
|
||||
mounted = 'success';
|
||||
})
|
||||
</script>
|
||||
|
||||
<h1>{status}</h1>
|
||||
|
||||
<p>{error.message}</p>
|
||||
<h2>{mounted}</h2>
|
||||
|
||||
<p>{error.message}</p>
|
||||
|
||||
Reference in New Issue
Block a user