A simple template repo for React projects, with the following set up:
- Prettier
- ESLint
- Parcel
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