Overview:
The Vite + Electron & Doubleshot Template is a project template used to build Vite + Electron projects. It utilizes the Doubleshot toolset, which is known for its fast performance. The template aims to provide a quick and efficient way to build and start a Node backend or an Electron main process.
Features:
- vite-plugin-doubleshot: Enables the running and building of the Electron main process.
- Controllers/Services ipc communication: Utilizes Typescript decorators to facilitate communication between controllers and services.
- Vite-powered rendering process: The rendering process is powered by Vite, enhancing the performance and development experience.
- Quick start and build: The template integrates tsup and electron-builder from @doubleshot/builder for quick starting and building.
Installation:
To use the Vite + Electron & Doubleshot Template, follow these steps:
- Click the “Use this template” button or clone the repository.
- In the project folder, make the necessary adjustments for using with PNPM if needed.
Note: If using PNPM, you must adjust your .npmrc file to ensure that your dependencies are bundled correctly.
Summary:
The Vite + Electron & Doubleshot Template is a project template designed to accelerate the development process for Vite + Electron projects. It leverages the Doubleshot toolset, which enables fast performance and provides additional features such as ipc communication and Vite-powered rendering. By using this template, developers can benefit from improved development experience and efficiency in building and starting their Node backend or Electron main process.