Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

czfadmin/vite-electron-boilerplate

Repository files navigation

Vite Electron Boilerplate

Scaffolding Your First Vite Electron Pojrect

Use Typescript and Vite to quickly build your Electron project
The files in the template are modified on the basis of cawa-93/vite-electron-builder. The React/Preact/Svelte/Lit/Vanilla project template is added to the original basis of vite-electron-builder

Templates:

  • Svelte
  • React
  • Preact
  • Vue
  • Lit
  • Vanilla
# pnpm
pnpm dlx create-vite-electron-fun
cd <project-name>
# In Browser
pnpm serve
# In Electron
pnpm dev
# yarn
yarn create vite-electron-fun
cd <project-name>
# In Browser
yarn serve
# In Electron
yarn dev
# npx
npx create-vite-electron-fun
cd <project-name>
# In Browser
npm serve
# In Electron
npm dev

🥳🥳🥳🥳 Happy Coding!!

picture 1

picture 2