Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 2 months ago
JSON representation

SolidJS + Vite + Electron template

Awesome Lists containing this project

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/)