How to set a 404 page in Next.js based on a slug/dynamic route?
My structure:
pages
┣ [slug]
┃ ┣ 404.js // Custom 404 page for that folder/slug
┃ ┣ details.js
┃ ┣ index.js
┣ _app.js
┣ contact.js
┣ index.js
Of course I can set a global 404 page, but not for a specific slug. Any ideas?