Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 726 Bytes

vite.md

File metadata and controls

25 lines (19 loc) · 726 Bytes
description
Create a new Electron app with Vite.

Vite

To get you up and running as fast as possible with Vite, we provide a template that makes use of the @electron-forge/plugin-vite module, plus some preset Vite configuration options.

{% tabs %} {% tab title="Yarn" %}

yarn create electron-app my-new-app --template=vite

{% endtab %}

{% tab title="npm" %}

npm init electron-app@latest my-new-app -- --template=vite

{% endtab %} {% endtabs %}

Once you've initialized the template, you'll need to run npm start in the generated directory.

See the Vite Plugin documentation for Electron Forge-specific configuration options.