mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2024-10-12 15:39:56 +08:00
screenshot | ||
script | ||
src | ||
typings | ||
.env | ||
.gitignore | ||
.yarnrc | ||
blog.md | ||
note.md | ||
package.json | ||
README.md | ||
tsconfig.json | ||
vite.config.ts | ||
yarn.lock |
electron-vue-vite
Electron
+ Vue3
+ Vite2
integration
How and Why
Vite
is the scaffold of the future
Command
- npm run dev
- npm run build
Note
- Using
Nodejs
Electron
API in vite and using require to import// import { readFile } from 'fs' // import { ipcRenderer } from 'electron' const { readFile } = require('fs') const { ipcRenderer } = require('electron')