Skip to content

Glossary: Next.js Basics

@/ import alias

Also written: @/, import alias

A shortcut set up in jsconfig.json where `@/` means the project folder. `@/app/_components/Hero` works from any file, so imports don't break when you move one.

Where the book teaches it

Related terms

jsconfig.jsonPrivate folder