Difference between revisions of "User:Saul/electron"

From Organic Design wiki
(Created page.)
 
(Install)
Line 2: Line 2:
  
 
= Install =
 
= Install =
 +
== Electron CLI ==
 
<source lang="bash">
 
<source lang="bash">
vue init webpack electron-vue # create the project using the electron-vue template.
+
sudo npm install -g electron # install electron globally.
 +
</source>
 +
== Create Vue Project ==
 +
<source lang="bash">
 +
vue init webpack <PROJECT NAME> # create the project using the vue's cli.
 +
cd <PROJECT NAME>
 +
npm i
 
</source>
 
</source>

Revision as of 22:02, 11 July 2018

This page is for my notes on using electron with vue.

Install

Electron CLI

sudo npm install -g electron # install electron globally.

Create Vue Project

vue init webpack <PROJECT NAME> # create the project using the vue's cli.
cd <PROJECT NAME>
npm i