Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tgrassl/solid-vite-electron
SolidJS + Vite + Electron template
https://github.com/tgrassl/solid-vite-electron
electron solid solidjs solidjs-boilerplate template vite
Last synced: about 1 month ago
JSON representation
SolidJS + Vite + Electron template
- Host: GitHub
- URL: https://github.com/tgrassl/solid-vite-electron
- Owner: tgrassl
- Created: 2023-01-07T11:37:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T17:27:24.000Z (almost 2 years ago)
- Last Synced: 2024-06-07T03:34:41.981Z (6 months ago)
- Topics: electron, solid, solidjs, solidjs-boilerplate, template, vite
- Language: TypeScript
- Homepage:
- Size: 2 MB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-solid-js - Solid + Vite + Electron Starter - Build an Electron app with SolidJS (Resources / 🏃 Examples and Starter Kits)
README
# solid-vite-electron
![result](./result.png)
Inspired by [ch99q](https://github.com/ch99q/vite-solid-electron)
Based on [electron-vite](https://github.com/electron-vite/vite-plugin-electron/tree/main/examples/quick-start)
## Overview
⚡️ SolidJS + Vite + TypeScript + Electron
📦 Ready out of the box
🔥 Hot reloading
## Installation
```bash
# clone template without git history
npx degit https://github.com/tgrassl/solid-vite-electron# open the project directory
cd# install dependencies
npm install# start the application
npm run dev# make a production build
npm run build
```## Directory structure
```tree
├── 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](https://github.com/electron-vite/vite-plugin-electron)
[SolidJS](https://www.solidjs.com/)