Next.js starter setup with
- Typescript
- TailwindCSS with Dark Mode
- Testing running with Jest and
@testing-library/react - Linting with ESLint
- Formatting with Prettier
- Check staged file with
lint-stagedon pre-commit withhuskyv6
Execute create-next-app with npm or Yarn to bootstrap the example:
npx create-next-app --example https://github.com/devpeerapong/nextjs-typescript-starter next-app
# or
yarn create next-app --example https://github.com/devpeerapong/nextjs-typescript-starter next-appThis setup is based on
- Next.js
with-typescriptExample - Eject create-react-app