/base-react

A template repository for React projects with Prettier, ESLint, and Babel set up.

Primary LanguageJavaScript

Base React

A simple template repo for React projects, with the following set up:

  • Prettier
  • ESLint
  • Parcel

Use

Visit https://github.com/nickFalcone/base-react, select "Use this template" and clone the repo. Then install dependencies and run:

git clone git@github.com:yourName/base-react.git
cd base-react
npm install
npm run dev

The React application mounts here:

<div id="root">Not rendered 😨</div>

To run a production build served from dist/:

npm run build