How can I implement Next js feature Catch all routes [[...slug.tsx]] (https://nextjs.org/docs/routing/dynamic-routes#optional-catch-all-routes) without deleting the index.js page? If I don't delete it, I get this error:
Error: You cannot define a route with the same specificity as a optional catch-all route ("/" and "/[[...slug]]").
I read a recommendation changing to non-optional catch all routes ([...slug.tsx]) .. but that doesn't allow me to catch a route without a slug (i.e /post)