qwik
qwik copied to clipboard
feat(qwik-city/404): add possible routes to dev server
Overview
What is it?
- [x] Feature / enhancement
- [ ] Bug
- [ ] Docs / tests / types / typos
Description
Currently, when reaching a 404 page in dev server, you'll receive a generic error page without much detail.
This PR adds links to all available routes.
without overflow:
with overflow:
closes #4085
Checklist:
- [x] My code follows the developer guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation
- [ ] Added new tests to cover the fix / functionality
Things we want to do next:
- Add a search box (need to figure out how to achieve this?)
- Add component names for each link (probably root that hosts the page?)
- Add dynamic path parameters value input for dynamic routes