Starter template for fast and efficient Electron development using Vite and TypeScript
|
|
||
|---|---|---|
| documentation/img | ||
| modules | ||
| types | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| electron-builder.config.js | ||
| eslint.config.js | ||
| License | ||
| package.json | ||
| pnpm-lock.yaml | ||
| project.config.ts | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| tsconfig.vitest.json | ||
| vite.config.ts | ||
vite-electron-starter
Introduction
This starter template provides a quick and easy way to build Electron apps with TypeScript. It supports Hot Module Replacement (HMR) for the Electron main process, the preload script, and the app itself. The entire setup uses Vite in a clear, transparent manner, no hidden “black magic” in third-party plugins.
Features
Logging
Since logging is essential for many developers, this project offers a ready-to-use and production-ready logging solution of my own: bit-log
It also has source map support, so it shows the correct error position from the original TypeScript code:



