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.
|
2 weeks ago | |
---|---|---|
.vscode | 4 weeks ago | |
build | 4 weeks ago | |
resources | 4 weeks ago | |
src | 2 weeks ago | |
.editorconfig | 4 weeks ago | |
.eslintignore | 4 weeks ago | |
.eslintrc-auto-import.json | 3 weeks ago | |
.eslintrc.cjs | 4 weeks ago | |
.gitignore | 4 weeks ago | |
.npmrc | 4 weeks ago | |
.prettierignore | 4 weeks ago | |
.prettierrc.yaml | 4 weeks ago | |
README.md | 4 weeks ago | |
electron-builder.yml | 4 weeks ago | |
electron.vite.config.ts | 2 weeks ago | |
package-lock.json | 2 weeks ago | |
package.json | 2 weeks ago | |
postcss.config.js | 3 weeks ago | |
tailwind.config.js | 3 weeks ago | |
tsconfig.json | 2 weeks ago | |
tsconfig.node.json | 4 weeks ago | |
tsconfig.web.json | 2 weeks 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