Custom Electron template created based on LuanRoger's template
.
└── ./src/
├── ./src/assets/
│ └── ./src/assets/fonts/
├── ./src/components/
│ ├── ./src/components/template
│ └── ./src/components/ui/
├── ./src/helpers/
│ └── ./src/helpers/ipc/
├── ./src/layout/
├── ./src/lib/
├── ./src/pages/
├── ./src/style/
└── ./src/tests/
src/
: Main directoryassets/
: Store assets like images, fonts, etc.components/
: Store UI componentstemplate/
: Store the all not important components used by the template. It doesn't include the WindowRegion
or the theme toggler, if you want to start an empty project, you can safely delete this directory.ui/
: Store Shadcn UI components (this is the default direcotry used by Shadcn UI)helpers/
: Store IPC related functions to be called in the renderer processipc/
: Directory to store IPC context and listener functionstheme
and window
for the custom title barlayout/
: Directory to store layout componentslib/
: Store libraries and other utilitiespages/
: Store app's pagesstyle/
: Store global stylestests/
: Store tests (from Vitest and Playwright)git clone https://github.com/LuanRoger/electron-shadcn.git
Or use it as a template on GitHub
npm install
npm run dev