Skip to content
Codesbiome edited this page Mar 7, 2022 · 11 revisions

Introduction

ERWT is a minimal boilerplate for writing Desktop Applications using Electron, React, Webpack & TypeScript.
This project makes use of latest packages and configurations to serve the best environment for development.

You are welcome to this project, feel free to use or contribute!



Requirements


Installation

To clone the ERWT boilerplate, you need to run following commands:

status

Master version of ERWT contains project files in separate context for main and renderer process, uses custom window, custom titlebar & menus.

git clone --recurse-submodules https://github.com/codesbiome/electron-react-webpack-typescript-2022
OR

status

Minimal version of ERWT contains very simple project files structure, no custom window, no custom titlebar & menus.

git clone -b minimal https://github.com/codesbiome/electron-react-webpack-typescript-2022

Install dependencies using Yarn or NPM :

yarn install

Features

  • 📐 Custom Window & Titlebar with Menus
  • 🌟 Electron
  • 🌀 TypeScript
  • ⚛️ React
  • 🛶 LESS Loader
  • 🎨 CSS Loader
  • 📸 Image Loader
  • 🆎 Font Loader
  • 🧹 ESLint
  • 📦 Electron Forge
  • 🔱 Webpack & Configuration
  • 🧩 Aliases for project paths
  • 🔥 Hot Module Replacement (Live Reload)
  • 🎁 Package Bundling (Distribution / Release)
Clone this wiki locally