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.
|
|
3 months ago | |
|---|---|---|
| .. | ||
| .vscode | 3 months ago | |
| build | 3 months ago | |
| resources | 3 months ago | |
| src | 3 months ago | |
| .editorconfig | 3 months ago | |
| .eslintignore | 3 months ago | |
| .eslintrc.cjs | 3 months ago | |
| .gitignore | 3 months ago | |
| .npmrc | 3 months ago | |
| .prettierignore | 3 months ago | |
| .prettierrc.yaml | 3 months ago | |
| README.md | 3 months ago | |
| electron-builder.yml | 3 months ago | |
| electron.vite.config.ts | 3 months ago | |
| package-lock.json | 3 months ago | |
| package.json | 3 months ago | |
| tsconfig.json | 3 months ago | |
| tsconfig.node.json | 3 months ago | |
| tsconfig.web.json | 3 months ago | |
| yarn.lock | 3 months ago | |
README.md
electron-app
An Electron application with Vue3 and TypeScript
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.
- Configuring
- Development
- Asset Handling
- HMR & Hot Reloading
- Debugging
- Source code protection
- Distribution
- Troubleshooting
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
- electron-vite-bytecode-example, source code protection
- electron-vite-decorator-example, typescipt decorator
- electron-vite-worker-example, worker and fork