electron-template
v0.0.3
Published
Electron Template Generator
Downloads
3
Readme
Electron Template Generator
This is a template generator for Electron Application.
Installation
$ npm -g install electron-template
Usage
$ electron-template <applicationName>
The above command will create the following files/directories.
<appicationName>
├ main.js
├ package.json
└ renderer
├ html
│ └ index.html
├ js
└ css
Using Original template
NOTICE: a following function works on v0.0.2 or later.
If you make your own template files in a 'template' directory, the above command will just copy the files in the 'template' directory to new electron application directory.
The 'template' directory is shown by the following command.
$ electron-template -t
You can open the 'template' directory by the following command.
Mac OS X:
$ open `electron-template -t`
Windows (in Command Prompt):
Z:¥> for /f %A in ('electron-template -t') do explorer %A