create-electron-vite-app
v1.0.1
Published
Create Electron + React + Vite + TailwindCSS + shadcn/ui applications
Downloads
9
Maintainers
Readme
create-electron-vite-app
Create Electron applications with React, Vite, TailwindCSS, shadcn/ui, Storybook, and Vitest.
Usage
# With npm
npm create electron-vite-app my-app
# With yarn
yarn create electron-vite-app my-app
# With pnpm
pnpm create electron-vite-app my-app
# With Bun
bunx create-electron-vite-app my-appWhat's Included
- ⚡️ Vite - Lightning fast build tool
- ⚛️ React 18 - Modern React with hooks
- 🖥️ Electron - Cross-platform desktop apps
- 🎨 TailwindCSS - Utility-first CSS framework
- 🧩 shadcn/ui - Beautiful and accessible components
- 📚 Storybook - Component development environment
- 🧪 Vitest - Fast unit testing with React Testing Library
- 📝 TypeScript - Type safety out of the box
- 🔍 ESLint - Code linting and formatting
Development Workflow
After creating your app:
cd my-app
yarn install
yarn electron:dev # Start development modeAdditional commands:
yarn dev- Start Vite dev server onlyyarn test- Run testsyarn test:ui- Run tests with UIyarn storybook- Start Storybookyarn build- Build for productionyarn electron:build- Build Electron app
Publishing
To publish this create package:
- Update version in
package.json - Run
npm publish - Users can then use
npm create electron-vite-app
License
MIT
