Skip to content

Yet another Next.JS + Typescript + Styled Components Boilerplate

Notifications You must be signed in to change notification settings

alissonsleal/nextjs-ts-boilerplate

Repository files navigation

Next.JS + Typescript + Styled Components Boilerplate

I created this boilerplate to increase my productivity when creating a typescript react app.

I'm using the Airbnb default lint option.

Main Dependencies

  • React 17
  • Typescript 4
  • React-Icons
  • Styled-Components

Main Developer Dependencies

  • Eslint
  • Prettier

How to use

Clone this repo using git clone https://github.com/Alissonsleal/nextjs-ts-boilerplate.git <YOUR_PROJECT_NAME>

Go into your project directory cd <YOUR_PROJECT_NAME>

Remove .git to clean the git repo with rm -rf .git in terminal, or rm .git -r -fo in powershell

Install dependencies with yarn or npm install

Change the name of your project inside package.json

Run your Next.JS App with yarn dev or npm run dev