This template project provides a foundation for building cross-platform native desktop applications using React and Electron.js. It combines the power of React for building dynamic user interfaces with Electron.js for creating standalone desktop applications.
- React: Leverage the popular JavaScript library for building user interfaces.
- Electron.js: Use Electron to package and deploy your React app as a native desktop application.
- Cross-platform: Develop applications that run seamlessly on Windows, macOS, and Linux.
- Vite: Enjoy the benefits of a fast development server, hot module replacement (HMR), and optimized build processes.
Make sure you have Node.js and npm installed on your machine.
-
Clone this repository:
git clone https://github.com/yourusername/react-electron-desktop-app-template.git
-
Change to the project directory:
cd react-electron-desktop-app-template
-
Install dependencies:
npm install
To start the development server and Electron app concurrently, run:
npm run dev