This repository has been archived by the owner on May 24, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This requires disabling subfolders in the nuxt generate config and then creating a 404 page.
- Loading branch information
1 parent
439d4f2
commit e7f8bd5
Showing
5 changed files
with
51 additions
and
11 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
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
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,31 @@ | ||
<template> | ||
<div class="error-container"> | ||
<h1 class="title is-1 has-text-centered"> | ||
Page not found | ||
</h1> | ||
<div class="buttons is-centered"> | ||
<nuxt-link to="/" tag="a" class="button is-info"> | ||
Home | ||
</nuxt-link> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'ErrorPage', | ||
props: { | ||
error: { | ||
type: Object, | ||
default: null | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.error-container { | ||
margin-top: 2em; | ||
margin-bottom: 2em; | ||
} | ||
</style> |
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
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