Skip to content

Glossary: Next.js Basics

Colocation

Also written: colocate

Keeping components and other files next to the pages that use them. Only `page.js` makes a public page, so other files in a folder never become URLs.

Where the book teaches it

Related terms

Private folderRoute