From Dev.to
How Routing Works in Next.js: Pages, Layouts and Links Explained
Originally published on CodingCush. In Next.js, routing is based on your folder structure instead of a configuration file: every folder inside the app directory becomes part of the URL, a file called...
