Add NotFound route to App component for improved error handling in navigation
This commit is contained in:
6
src/routes/NotFound.svelte
Normal file
6
src/routes/NotFound.svelte
Normal file
@@ -0,0 +1,6 @@
|
||||
<script>
|
||||
export let title = 'Page Not Found';
|
||||
</script>
|
||||
|
||||
<h1>{title}</h1>
|
||||
<p>The page you are looking for does not exist. Please check the URL or return to the <a href="/">homepage</a>.</p>
|
Reference in New Issue
Block a user