wds4 / erb-multiWindow-sqlite3

electron-react-boilerplate with multiple renderer windows and sqlite3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A fork of electron-react-boilerplate with three separate renderer windows. Each window is functional both in development and in the packaged app.


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

License

MIT © Electron React Boilerplate

About

electron-react-boilerplate with multiple renderer windows and sqlite3

License:MIT License


Languages

Language:TypeScript 80.2%Language:JavaScript 11.5%Language:CSS 6.5%Language:EJS 1.7%Language:Shell 0.1%