This is a companion repository for the article Next.js Setup & Config for Testing, Linting, and Absolute Imports.
This is a Next.js project bootstrapped with create-next-app
.
The additional configuration includes:
- Linting with ESLint
- Testing with Jest & Testing Library React
- Aliased Paths/Absolute Imports.
All steps for configuration are documented in this tutorial.
Clone the project, then:
npm install
/ yarn install
followed by:
npm run dev
/ yarn dev
Open http://localhost:3000 with your browser to see the result.