Skip to content

justid/Electron-Vite-React-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron-Vite-React-JS

Electron + Vite + React template.

Overview

  1. Ready out of the box
  2. Based on vite-plugin-electron and the official template-react
  3. Supports Node.js API in the renderer process
  4. Supports React devTools

Install

git clone https://github.com/justid/Electron-Vite-React-JS.git
cd Electron-Vite-React-JS
yarn install

Develop

yarn dev

Build

yarn build

Directory structure

├── electron                       Electron-related code
│   ├── main                       Main-process source code
│   ├── preload                    Preload-scripts source code
│   └── electron-builder.json5     Build config file
│
├── release                        Generated after production build, contains executables
│   └── {version}
│       └── {os}-unpacked          Contains unpacked application executable
│
├── public                         Static assets
└── src                            Renderer source code, your React application

About

Electron + Vite + React template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published