create-frontron
v0.13.3
Published
Electron starter generator with React and Vite
Downloads
471
Readme
create-frontron
create-frontron scaffolds the default Electron + React + Vite starter.
It generates the default starter shape:
src/electron/for main, preload, tray, splash, and window wiringwindow.electronpreload bridge- an
appscript for Electron development - a
buildscript for web build + Electron packaging - a React + Vite starter with a small UI/component base
Usage
npm create frontron@latest
npx create-frontron@latest my-appRequires Node.js 22.15+.
After generation
cd my-app
npm install
npm run appnpm run dev: web preview onlynpm run app: Electron runtime + web dev servernpm run typecheck: fast TypeScript verification without packagingnpm run build: production web build + Electron packaging
Output shape
my-app/
src/
electron/
public/
package.json
vite.config.tsLicense
MIT
Docs: https://andongmin.com/frontron/
