You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
JINGYJ 3ae318e276 feat: 基础框架搭建 4 weeks ago
.vscode feat: 基础框架搭建 4 weeks ago
build feat: 基础框架搭建 4 weeks ago
resources feat: 基础框架搭建 4 weeks ago
src feat: 基础框架搭建 4 weeks ago
.editorconfig feat: 基础框架搭建 4 weeks ago
.eslintignore feat: 基础框架搭建 4 weeks ago
.eslintrc.cjs feat: 基础框架搭建 4 weeks ago
.gitignore feat: 基础框架搭建 4 weeks ago
.npmrc feat: 基础框架搭建 4 weeks ago
.prettierignore feat: 基础框架搭建 4 weeks ago
.prettierrc.yaml feat: 基础框架搭建 4 weeks ago
README.md feat: 基础框架搭建 4 weeks ago
electron-builder.yml feat: 基础框架搭建 4 weeks ago
electron.vite.config.ts feat: 基础框架搭建 4 weeks ago
package-lock.json feat: 基础框架搭建 4 weeks ago
package.json feat: 基础框架搭建 4 weeks ago
tsconfig.json feat: 基础框架搭建 4 weeks ago
tsconfig.node.json feat: 基础框架搭建 4 weeks ago
tsconfig.web.json feat: 基础框架搭建 4 weeks ago

README.md

electron-app

An Electron application with Vue3 and TypeScript

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

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 details.

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

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