Skip to content

Latest commit

Β 

History

History
44 lines (34 loc) Β· 1.79 KB

File metadata and controls

44 lines (34 loc) Β· 1.79 KB

electron-vite-react-folder-list-example

awesome-vite GitHub stars GitHub issues GitHub license Required Node.JS >= 14.18.0 || >=16.0.0

English

πŸ‘€ Overview

Basic Electron - Vite - React example of how to list folders.

πŸ›« Quick Setup

* clone the project
* enter the project directory
* npm i
* npm run dev

🐞 Debug

electron-vite-react-debug.gif

πŸ“‚ Directory structure

Familiar React application structure, just with electron folder on the top πŸ˜‰
Files in this folder will be separated from your React application and built into dist-electron

β”œβ”€β”€ electron                                 Electron-related code
β”‚   β”œβ”€β”€ main                                 Main-process source code
β”‚   └── preload                              Preload-scripts source code
β”‚
β”œβ”€β”€ release                                  Generated after production build, contains executables
β”‚   └── {version}
β”‚       β”œβ”€β”€ {os}-{os_arch}                   Contains unpacked application executable
β”‚       └── {app_name}_{version}.{ext}       Installer for the application
β”‚
β”œβ”€β”€ public                                   Static assets
└── src                                      Renderer source code, your React application