> "you cannot construct a custom route on the client-side without adhering to the core concept of building your routes based on the pages directory."
Actually, that's not true. You can opt out of the fs-based routing altogether.
Actually, that's not true. You can opt out of the fs-based routing altogether.
> "You may also wish to configure the client-side router to disallow client-side redirects to filename routes; for that refer to router.beforePopState."
https://nextjs.org/docs/api-reference/next/router#routerbefo...