Starter template for React.JS
Based on:
https://medium.com/@kayodeniyi/simplest-react-app-setup-a74277b99e43
https://webpack.js.org/guides/getting-started/
After cloning the repo:
npm install
To start on localhost:
npm start
The first time this is done it can take 10-15 seconds before http://localhost:8080/ can be accessed.
To produce a production build:
npm run build
To produce a development build:
npm run dev
In both cases the output is placed in dist
Static files such as HTML and CSS can be placed in static. They
will automatically be copied from here to dist at build time.
Code can be placed in src and components.