This is a template project using Next.js with TypeScript, Tailwind CSS, ESLint, Prettier, Husky, Lint-staged, Knip, Next-themes for dark mode, and Framer-motion for animations.
- Next.js - A React framework
- TypeScript - A typed superset of JavaScript
- Tailwind CSS - A utility-first CSS framework
- ESLint - A pluggable linting utility for JavaScript
- Prettier - An opinionated code formatter
- Husky - A Git hooks manager
- Lint-staged - Run linters on staged files
- Next-themes - A library for adding dark mode to your Next.js projects
- Framer-motion - A production-ready motion library for React
build
: Build the projectdev
: Start the development serverformat:check
: Check the formatting of the projectformat:fix
: Fix the formatting of the projectlint
: Lint the projectlint:fix
: Fix the linting of the projectserve
: Start the production (static) serverstart
: Start the production servertypecheck
: Typecheck the project
- Clone the repository
git clone https://github.com/pyyupsk/nextjs-template.git
- Navigate to the project directory
cd nextjs-template
- Install the dependencies
npm install
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to use this template for your Next.js projects!
This project was created with ❤️ by ファース