revell29 / nextjs-typescript-tailwindcss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ ts-nextjs-tailwind-starter

Next.js + Tailwind CSS + TypeScript

Features

  • Next.js 12
  • React 18
  • TypeScript
  • Tailwind CSS 3 β€” Configured with CSS Variables to extend the primary color
  • 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 on PR
  • Automatic Branch and Issue Autolink β€” Branch will be automatically created on issue assign, and auto linked on PR
  • Snippets β€” A collection of useful snippets
  • Site Map β€” Automatically generate sitemap.xml
  • React Query
  • Zustand - A small, fast and scalable bearbones state-management solution using simplified flux principles.

Getting Started

1. Clone this repository

2. Install dependencies

It is encouraged to use yarn so the husky hooks can work properly.

yarn install

3. Run the development server

You can start the server using this command:

yarn dev

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying src/pages/index.tsx.

4. Commit Message Convention

This starter is using conventional commits, it is mandatory to use it to commit changes.

About


Languages

Language:CSS 53.9%Language:TypeScript 30.7%Language:JavaScript 14.7%Language:Shell 0.7%