Attempt to catch all routes with ...slug but returns 404 error #13216
Unanswered
CallmeHongmaybe
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
I put a Link tag to a function component and and if I ever click on this I got a 404 error: Page does not exist
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Created a "list" sub-directory in the "pages" directory

Added [...slug].js to list
Added this block of code to [...slug].js
Run

npm run dev
Open any page on the app ( See the GIF below )
Click on "See full list" button
Gets 404 error
Expected behavior
I expect to see a page after I click "See full list"
Screenshots
System information
Additional context
Beta Was this translation helpful? Give feedback.
All reactions