Skip to content

raymsa41/test-routing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Getting Started

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published