Next.js Typescript Starter
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-staged
on pre-commit withhusky
v6
How to use
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-app
This setup is based on
- Next.js
with-typescript
Example - Eject create-react-app