Vite + SolidJS + Electron boilerplate.
The Vite Solid Electron is a template that provides a simple integration of Vite, SolidJS, and Electron. It includes only the basic dependencies and offers a flexible extension option. The project follows a specific directory structure and generates a “dist” folder when the development or build npm script is executed. The template also allows for the use of Electron and NodeJS APIs in the renderer process and provides guidance on using node-native addons in the main process.
npm install
npm run dev
npm run build
The Vite Solid Electron template is a straightforward solution for integrating Vite, SolidJS, and Electron. It provides a minimalistic set of dependencies and allows for the use of Electron and NodeJS APIs. The template also offers guidance on configuring Rollup for the main process and using node-native addons. Overall, it provides a flexible foundation for developing Electron applications with Vite and SolidJS.