This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
-
precommit hooks
-
l18n
-
tests
-
ci
-
JavaScript (mostly relevent for TS too)
Avoid placing files at the root of the project unless absolutely necessary. All application code should live in src/. Every page of the app is defined as a React component in a .tsx file in src/pages. All other components should live in src/components. Layout components can go in components/layout, reusable components live in components/shared, and components specfic to a certain page or domain can live inside a sub directory within src/components.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.