-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nuxt3-app): add 404 component (SWF-235)
- Loading branch information
1 parent
745e66e
commit b029167
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"vue-demo-store": minor | ||
--- | ||
|
||
Add page not found component |
15 changes: 15 additions & 0 deletions
15
templates/vue-demo-store/components/errors/RoutingNotFound.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<template> | ||
<section class="container mx-auto text-center my-20"> | ||
<h1 class="text-4xl font-bold mb-3">Page not found</h1> | ||
<p class="text-sm mb-3"> | ||
We are sorry, the page you're looking for could not be found. It may no | ||
longer exist or may have been moved. | ||
</p> | ||
<router-link | ||
class="inline-flex justify-center items-center py-2 px-4 text-base font-medium text-center text-white bg-brand-primary rounded-lg hover:bg-gray-400" | ||
to="/" | ||
> | ||
Back to homepage | ||
</router-link> | ||
</section> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters