Boilerplate for vite-plugin-electron
Vue3 + Vite + electron18 + vitest + pinia + vue-router4 + commitizen + windicss + electron-store + electron-log + electron-updater
Plugins: vite-plugin-electron + vite-plugin-pages + vite-plugin-windicss + pinia-plugin-persist
pnpm i
if you haven't installed pnpm yet, you should install it first.
npm i -g pnpm
use vite-plugin-pages for router.
more usecase take this
https://github.com/hannoeru/vite-plugin-pages/tree/main/examples/vue
use vitest
to test this project.
npm test
npm run commit
https://www.electron.build/configuration/configuration
you can use electron-builder.json
to configurate electron-builder
yarn build
npm run release
auto update CHAGNELOG.md.