LoginSignup
11
7

More than 5 years have passed since last update.

Electron入門 その1 Quick Start

Last updated at Posted at 2017-03-04

前書き

デスクトップアプリを作成する為、Electronやってみる。
公式サイトに載っているQuick Start通りの手順を実行してみる。

Quick Start

# Clone the Quick Start repository
$ git clone https://github.com/electron/electron-quick-start

# Go into the repository
$ cd electron-quick-start

# Install the dependencies and run
$ npm install && npm start

起動した

スクリーンショット 2017-03-04 18.07.28.png

DevToolsを非表示にする

起動時にDevToolsが起動するの嫌なので、下記コメントアウトする。

// Open the DevTools.
// mainWindow.webContents.openDevTools()

スクリーンショット 2017-03-04 18.21.46.png

ものの数分で、デスクトップアプリが出来た。素敵。

次回 Electron入門 その2 React導入

11
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
7