The Wayback Machine - https://web.archive.org/web/20201130004617/https://github.com/vuejs/vue-hackernews-2.0/issues/343
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendly 404 page? #343

Open
ataylor32 opened this issue Oct 16, 2018 · 0 comments
Open

Friendly 404 page? #343

ataylor32 opened this issue Oct 16, 2018 · 0 comments

Comments

@ataylor32
Copy link

@ataylor32 ataylor32 commented Oct 16, 2018

Currently, 404 errors are handled like this:

res.status(404).send('404 | Page Not Found')

Since this is a demo app, it would be nice to see a demo of handling 404 errors properly. To me, that means keeping the "shell" of the Vue app (still reactive and everything) with a message like "The page you requested was not found. Please follow one of the links above."

EDIT: It should also still have the "404" status code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.