generated from darkicewolf50/ssg-sveltekit-template
Initial commit
This commit is contained in:
11
src/routes/+error.svelte
Normal file
11
src/routes/+error.svelte
Normal file
@ -0,0 +1,11 @@
|
||||
<script>
|
||||
import { page } from '$app/state';
|
||||
|
||||
console.log(page.status);
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<h1>{page.status} Page not found</h1>
|
||||
<p>We are terribly sorry, but the page you requested doesn't exist.</p>
|
||||
<a href="/"><button>Return Home Here</button></a>
|
||||
</div>
|
Reference in New Issue
Block a user