- Electron Forge
- Vite
- React
- TailwindCSS
- shadcn/ui
- Full Typescript support
- Tanstack file-based router
-
With the system title-bar which is the "default". Default
-
With custom title-bar. (branch:
custom-title-bar) Custom
In case you want this second option, you can clone the branch with it:
git clone -b custom-title-bar https://github.com/luccasfr/electron-boilerplate
- Install dependencies
npm install
- Start the project
npm start
Just push new routes into app dir and @tanstack/router-vite-plugin will do the job, generating the routeTree.gen.ts file.
In case of doubts, follow the doc's.
To check filename conventions, follow this link.