/nextjs-ts-starter-template

Next.js+Tailwind starter ๐Ÿš€ with ESLint, Prettier, commitlint, lint-staged, GitHub Action

Primary LanguageJavaScript

โš ๏ธ Warning โš ๏ธ

This repo will no longer be maintained.
It is recommended to use https://github.com/afiiif/nextjs-starter-template instead.

Next.js [TypeScript] + Tailwind CSS Starter Template

Features

This starter template contains:

  • โšก๏ธ Next.js 12
  • โš›๏ธ React 18
  • ๐ŸŽ Tailwind CSS 3
  • ๐Ÿช„ Prettier โ€” Format your code automatically, this will also run on save
  • ๐Ÿงผ ESLint โ€” Find & fix problems in your code, and auto sort your imports
  • ๐Ÿถ Husky & Lint Staged โ€” Check & fix code when commit, block commit if bad code detected
  • ๐Ÿ“œ Commit Lint โ€” Make sure the commit message follows the conventional commit
  • โš™๏ธ Github Actions โ€” Check your code on push & pull-request
  • ๐Ÿค– Dependabot โ€” Create pull-request to update your dependencies
  • ๐Ÿ”— Absolute Import โ€” Import modules using @/ prefix
  • ๐Ÿ’Ÿ React Icons โ€” Include popular icons in your React projects easily
  • ๐ŸŒŸ React Power-Ups โ€” Collection of React hooks to speed-up your app development

Getting Started

The fastest way to start using this starter template is to run the following command in your terminal:

npx @afifu/setup <app-name>
// Example: npx @afifu/setup my-awesome-app

Enjoy~ ๐Ÿ˜