A Next.js with TypeScript and Styled-Components
Use create-next-app
to use this project as boilerplate.
npx create-next-app <project-name> -e https://github.com/thecobra159/typescript-styled-nextjs
Run the following commands inside the project folder:
1 - npm install
or yarn
2 - npm dev
or yarn dev
to run local on port 5000
3 - npm start
or yarn start
to start server on port 80
Run the following commands inside the project folder:
1 - yarn lint
to check eslint errors on project
2 - yarn fix
to fix project with eslint rules
This project is licensed under the MIT License.
Created based on my experience and João Pedro's Repo.