Next.js Discord

Discord Forum

Inconsistent behaviour with parallel routing in dev and build modes.

Unanswered
Entlebucher Mountain Dog posted this in #help-forum
Open in Discord
Entlebucher Mountain DogOP
Link to repro - https://github.com/jainmohit2001/nextjs-features
Link to deployed site - https://nextjs-feat.vercel.app/routing/parallel-routing
Link to GitHub issue - https://github.com/vercel/next.js/issues/59463

Current vs. Expected behavior

The src/app/routing/parallel-routing/@slot1/layout.tsx should be visible for the @slot1. In dev mode, this works as expected, but in build mode, the layout seems to be missing.

0 Replies