Install all the dependencies
npm i
Run the build script to generate the static files
npm run build
Run the local server to serve the generated static files
npm start
A basic example about how to generate static documents using HtmlWebpackPlugin and React
JavaScript