You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create the DocumentDrivenEmpty.vue and DocumentDrivenNotFound.vue components
Test it on the root folder, i.e: /this-returns-404, it works
Create a subfolder, i.e: /blog, with a [...slug].vue
Navigate to any invalid path within the /blog subfolder, does not return 404.
Describe the bug
Handling 404 errors using the DocumentDriven flag is currently only working at root level documents. Any documents in subfolders with a [...slug].vue file are not working at all, it just returns the slug page. Even when handled properly on the slug page with v-if and manually renderind the NotFound component, the response is returned 200 and not 404.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
Describe the bug
Handling 404 errors using the DocumentDriven flag is currently only working at root level documents. Any documents in subfolders with a [...slug].vue file are not working at all, it just returns the slug page. Even when handled properly on the slug page with v-if and manually renderind the NotFound component, the response is returned 200 and not 404.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: