Simple react starter with the following config:
- React, ReactDOM
- Webpack
- Babel with react presets
- Bootstrap (css only!, loaded from a CDN in
index.html
) - main
application.scss
stylesheet is imported inindex.js
as a module to enjoy hot reloading
To start the local Webpack Dev Server on port 8080
:
yarn start
To lint all JavaScript files in the src
folder:
yarn lint
Used the following Versions:
- Yarn package manager version 1.22.19
- Webpack 5
- React 18.2
- Bootstrap 5 (via CDN, only CSS)