0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【忘備録】Electronを利用したデスクトップアプリの作成手順

Posted at

概要

3つの手順でデスクトップアプリの雛形が作成できたため、メモ程度に記録する。

Node.jsのインストール

以下からインストーラをダウンロードしインストールを行う。
基本的にデフォルトの設定のまま進めていく。

npmを使用しテンプレートを作成

以下のコマンドを入力する。

npm create @quick-start/electron@latest

いくつか質問されるので、以下のように入力する。

Ok to proceed? (y) y
? Project name: » electron-app
? Select a framework: » react
? Add TypeScript? ... Yes
? Add Electron updater plugin? » No
? Enable Electron download mirror proxy? » No

アプリの実行

以下のコマンドを入力し、アプリを実行する。

cd electron-app
npm install
npm run dev

以下のようなアプリが立ち上がる。
electron-app.PNG

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?