This is a Next.js project bootstrapped with create-next-app
.
This is a project to showcase the difference in routing between minimal mode and regular mode.
First, install the dependencies:
npm install
Then run the development server in regular mode:
npm run dev:normal
And enter to the following URL: http://localhost:3000/internal/fakepage
Then run the development server in minimal mode:
npm run dev:vercel
Enter the same url as before: http://localhost:3000/internal/fakepage
The difference is that in regular mode, the page renders the parent catch all route, but in minimal mode, the page renders the internal catch all route.
The route being tested is not part of the getStaticPaths for the internal page, so it should not be rendered with the internal catch all route.