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. 😃