Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.61 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.61 KB

solid-vite-electron

result

Inspired by ch99q

Based on electron-vite

Overview

⚡️ SolidJS + Vite + TypeScript + Electron

📦 Ready out of the box

🔥 Hot reloading

Installation

# clone template without git history
npx degit https://github.com/tgrassl/solid-vite-electron <folder_name>

# open the project directory
cd <folder_name>

# install dependencies
npm install

# start the application
npm run dev

# make a production build
npm run build

Directory structure

├── 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 SolidJS application

Read more

vite-plugin-electron

SolidJS

Credits