#author("2021-07-07T10:11:06+09:00","","")
*** インストールと初回起動 [#sd11e464]
- nodejs のインストール
 [local] munakata: sudo apt install nodejs
 
 [local] munakata: node -v
 v10.19.0

- npm のインストール
 [local] munakata: sudo apt install npm
 
 [local] munakata:~/latex/LFS201/program$ npm -v
 6.14.4

- electron のインストール(npm でインストール)
 [local] munakata:~/latex/LFS201/program$ npm install electron --save-dev

- electron の初回起動 (npx electron)
 [local] munakata:~$ npx electron
 
 Electron 13.1.6 - Build cross platform desktop apps with JavaScript, HTML, and CSS
 Usage: electron [options] [path]
 
 A path to an Electron app may be specified. It must be one of the following:
   - index.js file.
   - Folder containing a package.json file.
   - Folder containing an index.js file.
   - .html/.htm file.
   - http://, https://, or file:// URL. 
 
 Options:
   -i, --interactive     Open a REPL to the main process.
   -r, --require         Module to preload (option can be repeated).
   -v, --version         Print the version.
   -a, --abi             Print the Node ABI version.

-- &ref(first_electron.jpg);
*** 参考 URL [#q162ea6d]
- [[【入門】Electron完全に理解した (2020-12):https://zenn.dev/unsoluble_sugar/articles/c5b5faefddd35c1be8a3#electron%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB]]
- [[最新版で学ぶElectron入門 (2020-08):https://ics.media/entry/7298/]]
- [[ようこそ!Electron入門 (2019-11):https://qiita.com/umamichi/items/6ce4f46c1458e89c4cfc]]
- [[日頃お世話になっているElectronのアプリ開発に入門してみる:https://qiita.com/y-tsutsu/items/179717ecbdcc27509e5a]]
- [[:]]
- [[:]]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS