nextjs-react-template
This repository serves as a template for new React-NextJS projects going forward. Be sure to follow the steps provided to ensure expected code linting rules, formatting and etc.
This template uses ESLint for linting, and Prettier for code formatting.
Setting up
-
Make sure to install recommended extensions to utilize the standardized code formatting rules and linting. VSCode will prompt you when opening this project folder to install the said extensions; if not, refer to the
.vscode/extensions.json
and copy the extensions IDs provided and paste them to the marketplace one by one. -
Make sure to install dependencies to ensure that linting and code formatting extensions will work as expected.
npm install
yarn
# OR
yarn install --force