Trying out the examples online: https://rauschma.github.io/minimal-react/build/
- Download and install Node.js (this also installs the npm package manager).
- Install the npm packages that this repository depends on:
cd minimal-react npm install
- Start the development server:
cd minimal-react npm start - The dev server prints root URLs to the console, e.g.:
http://localhost:8080/- Open one of them in a web browser.
- The browser tab is refreshed automatically when you change either HTML or JavaScript code.
You can also create a stand-alone version of this web app that doesn’t need the development server to run:
npm run buildAfterwards, the complete web app is in directory minimal-react/build, ready to be deployed.
This is an exhaustive list of dependencies: