A modern desktop application template built with:
ā
Pre-configured with Vite + React + TypeScript
ā
Electron integration for desktop apps (Windows, macOS, Linux)
ā
Tailwind CSS with dark/light mode support
ā
ShadcnUI components for a polished UI
ā
Lucide Icons included for beautiful vector icons
ā
HMR (Hot Module Replacement) for faster development
ā
ESLint + Prettier for clean, consistent code
git clone https://github.com/faresmdh/vite-react-tailwind-shadcn-electron-template.git
cd vite-react-tailwind-shadcn-electron-template
npm install
npm run electron-dev
āāā electron/
ā āāā main.cjs # Electron main process
ā āāā preload.cjs # Electron preload file
āāā src/
ā āāā assets/ # Contains project images
ā āāā componnents/
ā ā āāā ui/ # Contains shadcn ui componnents (containing button and card only, add as your needs)
ā āāā main.tsx # app entry
MIT Ā© Fares Meddahi