Skip to content

alex8088/electron-vite-boilerplate

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 

electron-app

electron version electron vite version electron builder version vite version vue version typescript version

An Electron application with Vue3 and TypesSript

Features

  • πŸ’‘ Optimize asset handling
  • πŸš€ Fast HMR for renderer processes
  • πŸ”₯ Hot reloading for main process and preload scripts
  • πŸ”Œ Easy to debug
  • πŸ”’ Compile to v8 bytecode to protect source code

Getting Started

Read documentation for more detail.

You can also use the create-electron tool to scaffold your project for other frameworks (e.g. React, Svelte or Solid).

Recommended IDE Setup

Project Setup

Install

$ npm install

Development

$ npm run dev

Build

# For windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux

Examples