Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including vue-cli-plugin-electron-builder with all npm packages installed. Try it out:

var vueCliPluginElectronBuilder = require("vue-cli-plugin-electron-builder")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

vue-cli-plugin-electron-builder v1.4.3

A Vue Cli 3 plugin for Electron with no required configuration

Vue CLI Plugin Electron Builder

A Vue Cli 3 plugin for Electron with no required configuration that uses Electron Builder.

Windows (Appveyor): Build status, Linux (Travis): Build Status

Sponsor

IMPORTANT: Your app must be created with Vue-CLI 3 (vue create my-app), will not work with Vue-CLI 2 (vue init webpack my-app)!

IMPORTANT: These docs are for the v1.0.0 release of VCP Electron Builder. If you were previously using an older version of vue-cli-plugin-electron-builder (<1.0.0), please see the upgrade guide or view the old docs.

Quick Start:

Open a terminal in the directory of your app created with Vue-CLI 3.

Then, install and invoke the generator of vue-cli-plugin-electron-builder by running:

vue add electron-builder

That's It! You're ready to go!

To start a development server:

If you use Yarn (strongly recommended):

yarn electron:serve

or if you use NPM:

npm run electron:serve

To build your app:

With Yarn:

yarn electron:build

or with NPM:

npm run electron:build

To see more documentation, visit our website.

WARNING

The command names have changed in v1.0.0-rc.4. If you are using an older version, the command names are: yarn serve:electron and yarn build:electron.

Replace yarn with npm run if you are using npm.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free