Next.js + Tailwind CSS + TypeScript starter packed with useful development features.
Made by Sakil Khan
This repository is π battery packed with:
- β‘οΈ Next.js 13
- βοΈ React 18
- β¨ TypeScript
- π¨ Tailwind CSS
- π Jest β Configured for unit testing
- π Absolute Import and Path Alias β Import components using
@/
prefix - π ESLint β Find and fix problems in your code, also will auto sort your imports
- π Prettier β Format your code consistently
- πΆ Husky & Lint Staged β Run scripts on your staged files before they are committed
- π€ Conventional Commit Lint β Make sure you & your teammates follow conventional commit
- β° Release Please β Generate your changelog by activating the
release-please
workflow - π· Github Actions β Lint your code
- π₯ Snippets β A collection of useful snippets
- π¦ Expansion Pack β Easily install common libraries, additional components, and configs
git clone https://github.com/sakilk130/nextjs-13-boilerplate.git
It is encouraged to use yarn so the husky hooks can work properly.
npm install
You can start the server using this command:
npm run dev
Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying src/app/page.tsx
.
There are some things you need to change including title, urls, favicons, etc.
Find all comments with !STARTERCONF, then follow the guide.
Don't forget to change the package name in package.json
This starter is using conventional commits, it is mandatory to use it to commit changes.
Are you using this starter? Please add your page (and repo) to the end of the list via a Pull Request. π