base on 🄳 Really simple Electron + Vite + Vue boilerplate. # electron-vite-vue 🄳 Really simple `Electron` + `Vue` + `Vite` boilerplate. <!-- [![awesome-vite](https://awesome.re/mentioned-badge.svg)](https://github.com/vitejs/awesome-vite) --> <!-- [![Netlify Status](https://api.netlify.com/api/v1/badges/ae3863e3-1aec-4eb1-8f9f-1890af56929d/deploy-status)](https://app.netlify.com/sites/electron-vite/deploys) --> <!-- [![GitHub license](https://img.shields.io/github/license/caoxiemeihao/electron-vite-vue)](https://github.com/electron-vite/electron-vite-vue/blob/main/LICENSE) --> <!-- [![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/electron-vite-vue?color=fa6470)](https://github.com/electron-vite/electron-vite-vue) --> <!-- [![GitHub forks](https://img.shields.io/github/forks/caoxiemeihao/electron-vite-vue)](https://github.com/electron-vite/electron-vite-vue) --> [![GitHub Build](https://github.com/electron-vite/electron-vite-vue/actions/workflows/build.yml/badge.svg)](https://github.com/electron-vite/electron-vite-vue/actions/workflows/build.yml) [![GitHub Discord](https://img.shields.io/badge/chat-discord-blue?logo=discord)](https://discord.gg/sRqjYpEAUK) ## Features šŸ“¦ Out of the box šŸŽÆ Based on the official [template-vue-ts](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-vue-ts), less invasive 🌱 Extensible, really simple directory structure šŸ’Ŗ Support using Node.js API in Electron-Renderer šŸ”© Support C/C++ native addons šŸ–„ It's easy to implement multiple windows ## Quick Setup ```sh # clone the project git clone https://github.com/electron-vite/electron-vite-vue.git # enter the project directory cd electron-vite-vue # install dependency npm install # develop npm run dev ``` ## Debug ![electron-vite-react-debug.gif](https://github.com/electron-vite/electron-vite-react/blob/main/electron-vite-react-debug.gif?raw=true) ## Directory ```diff + ā”œā”€ā”¬ 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 ``` <!-- ## Be aware 🚨 By default, this template integrates Node.js in the Renderer process. If you don't need it, you just remove the option below. [Because it will modify the default config of Vite](https://github.com/electron-vite/vite-plugin-electron-renderer#config-presets-opinionated). ```diff # vite.config.ts export default { plugins: [ - // Use Node.js API in the Renderer-process - renderer({ - nodeIntegration: true, - }), ], } ``` --> ## FAQ - [C/C++ addons, Node.js modules - Pre-Bundling](https://github.com/electron-vite/vite-plugin-electron-renderer#dependency-pre-bundling) - [dependencies vs devDependencies](https://github.com/electron-vite/vite-plugin-electron-renderer#dependencies-vs-devdependencies) ", Assign "at most 3 tags" to the expected json: {"id":"4106","tags":[]} "only from the tags list I provide: []" returns me the "expected json"