Next.js [TypeScript] + Tailwind CSS Starter Template
Features
This starter template contains:
- โก๏ธ Next.js (v13.3) with
/app
directory
- โ๏ธ React (v18.2)
- ๐ Tailwind CSS (v3.3)
- ๐ป Zustand (v4.3)
- ๐ช Prettier โ Format your code automatically, this will also run on save
- ๐งผ ESLint โ Find & fix problems in your code, and auto sort your imports
- ๐ Absolute Import โ Import modules using
@/
prefix
- ๐ถ Husky with...
- ๐ Commit Lint โ Make sure the commit message follows the conventional commit
- ๐ต๏ธ Lint Staged โ Check & fix code when commit, block commit if bad code detected
- โ๏ธ Github Actions โ Check your code on push & pull-request
- ๐ค Dependabot โ Create pull-request to update your dependencies
Getting Started
- Clone this repo.
๐ก You can use degit:npx degit afiiif/nextjs-starter-template YOUR_APP_NAME
- Install dependencies:
yarn install
- Run the development server:
yarn dev
- Open http://localhost:3000 with your browser to see the result.
Learn More