mirror of
https://github.com/alex8088/electron-vite.git
synced 2025-12-15 01:10:11 +08:00
docs: update
This commit is contained in:
parent
438e9e7672
commit
b1fd596afe
16
README.md
16
README.md
@ -28,13 +28,13 @@
|
|||||||
## Features
|
## Features
|
||||||
|
|
||||||
- ⚡️ [Vite](https://vitejs.dev) powered and use the same way.
|
- ⚡️ [Vite](https://vitejs.dev) powered and use the same way.
|
||||||
- 🛠 Pre-configured for Electron, don't worry about configuration.
|
- 🛠 Pre-configure with sensible defaults optimized for Electron.
|
||||||
- 💡 Optimize asset handling (Node.js addons, WebAssembly, Worker Thread, etc).
|
- 💡 Optimize asset handling for Electron main process.
|
||||||
- 🚀 Fast HMR for renderer processes.
|
- 🚀 Fast HMR & hot reloading.
|
||||||
- 🔥 Hot reloading for main process and preload scripts.
|
- 🔥 Isolated build for multi-entry application development.
|
||||||
- 🔌 Easy to debug in IDEs like VSCode or WebStorm.
|
- ✨ Simplify multi-threading development.
|
||||||
- 🔒 Compile to v8 bytecode to protect source code.
|
- 🔒 Compile code to v8 bytecode to protect source code.
|
||||||
- 🏷️ Support for TypeScript decorators.
|
- 🔌 Easy to debug in IDEs such as VSCode or WebStorm.
|
||||||
- 📦 Out-of-the-box support for TypeScript, Vue, React, Svelte, SolidJS and more.
|
- 📦 Out-of-the-box support for TypeScript, Vue, React, Svelte, SolidJS and more.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@ -83,7 +83,7 @@ export default {
|
|||||||
Clone the [electron-vite-boilerplate](https://github.com/alex8088/electron-vite-boilerplate) or use the [create-electron](https://github.com/alex8088/quick-start/tree/master/packages/create-electron) tool to scaffold your project.
|
Clone the [electron-vite-boilerplate](https://github.com/alex8088/electron-vite-boilerplate) or use the [create-electron](https://github.com/alex8088/quick-start/tree/master/packages/create-electron) tool to scaffold your project.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm create @quick-start/electron
|
npm create @quick-start/electron@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
Currently supported template presets include:
|
Currently supported template presets include:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user