๐ฅณ Projeto para testar mensagens, baseado nas tecnologias Electron
+ Vue
+ Vite
.
npm install
npm run dev
+ โโโฌ electron
+ โ โโโฌ main
+ โ โ โโโ index.ts entry of Electron-Main
+ โ โโโฌ preload
+ โ โโโ index.ts entry of Preload-Scripts
โโโฌ src
โ โโโ main.ts entry of Electron-Renderer
โโโ index.html
โโโ package.json
โโโ vite.config.ts
# vite.config.ts
export default {
plugins: [
- // Use Node.js API in the Renderer-process
- renderer({
- nodeIntegration: true,
- }),
],
}