- 🖖 Based on the
vue-ts
template created bynpm create vite
, integratevite-plugin-electron
- ⚡️ More simplify, is in line with Vite project structure
- ⚡️ Main、Renderer、preload, all built with vite
- Refactor the scripts part.
- Remove
configs
directory.
- Refactor the project. Use vite.config.ts build
Main-process
,Preload-script
andRenderer-process
alternative rollup. - Scenic
Vue>=3.2.13
,@vue/compiler-sfc
is no longer necessary. - If you prefer Rollup, Use rollup branch.
Error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree.