Awesome
A fork of electron-react-boilerplate with three separate renderer windows. Each window is functional both in development and in the packaged app.
<br>I am following the example of this repo which serves the same purpose but starts from an earlier version of electron-react-boilerplate. Compared to that repo, a few additional steps are needed to create the present template, most notably involving the HtmlWebpackPlugin plugin in webpack.config.renderer.dev.ts and webpack.config.renderer.prod.ts files. See commit history for the steps.
Install
Clone the repo and install dependencies:
git clone --depth 1 --branch main https://github.com/wds4/electron-react-boilerplate-multiple-windows.git your-project-name
cd your-project-name
npm install
Starting Development
Start the app in the dev
environment:
npm start
Packaging for Production
To package apps for the local platform:
npm run package