This barebones React boilerplate generate outputs an app using the following tools:
- Language: React
- Build Tool: Parcel
- Styling Library: styled-components
The outputted folder structure is as follows:
src
│ package.json
│
└─- app
│ │ index.html
│ │ index.js (entry point)
└─- assets
│ │ favicon.ico
└─- components
└─- resource-strings (removable)
└─- utilities
│ └─- styles (optional styled-components configurations)
| | helpers.js
-
Generate your app
$ npx parcel-react-starter your-app-name
-
Navigate to the directory for your newly generated app (
./your-app-name
for instance)$ cd your-app-name
-
Run a fresh install
$ yarn
-
Start your app!
$ yarn start