Next.js Discord

Discord Forum

Setting a basePath in next.config.js breaks parallel routing in app router

Unanswered
Fish Crow posted this in #help-forum
Open in Discord
Fish CrowOP
Hi there- running latest Next.js 14.0.0. As part of my organization's ALB (automatic load balancer) requirements, I need to utilize a basePath as part of my Next.js app. However, when doing so, I lose the ability to use parallel routes for a dialog, and when I navigate to said parallel route, the root route (formerly my '/' route, now '/newBasePath' no longer displays behind the modal. Is there something I need to do differently to get this to work or is this perhaps a bug/edge case?

1 Reply

Fish CrowOP
Bump