create-frontron
v0.11.2
Published
<div align="center">
Readme
create-frontron
create-frontron is the thin starter generator for frontron.
It generates the official framework-first app shape:
- root
frontron.config.ts frontron/app-layer modulesapp:devandapp:buildscripts that call thefrontronCLI- the official
frontron/rustslot scaffold - a React + Vite starter with a prewired component base under
src/components/ui
create-frontron does not own desktop runtime or packaging behavior.
Those responsibilities stay in frontron:
- Electron runtime logic
- packaging and build ownership
- bridge runtime
- copied
mainor preload boilerplate - template-only special desktop structure
Current Starter
The generated starter keeps the framework-first contract and adds a richer web base:
frontron.config.tsre-exports the app-layer configfrontron/bridge,frontron/menu,frontron/tray, andfrontron/hooksare scaffoldedfrontron/rustis scaffolded withenabled: false.frontron/types/frontron-client.d.tsis prepared for generated bridge types- desktop UI uses
frontron/clientinstead of a custom Electron preload API src/components/uiships with the component base from the starter template
Requirements
- Node.js
22+
Usage
npm create frontron@latest
npx create-frontron@latest my-appOptions:
--overwrite <yes|no|ignore>
After Generation
cd my-app
npm install
npm run app:devnpm run dev: web preview onlynpm run app:dev: Frontron desktop runtime + web dev server
Output Shape
Starter output shares the same official Frontron structure as manual install, while adding the starter web files and component base.
my-app/
src/
public/
package.json
vite.config.ts
frontron.config.ts
frontron/License
MIT
Docs: https://frontron.andongmin.com
