I created this boilerplate to increase my productivity when creating a typescript react app.
I'm using the Airbnb default lint option.
- React 17
- Typescript 4
- React-Icons
- Styled-Components
- Eslint
- Prettier
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