{"id":13453,"date":"2021-01-12T10:36:54","date_gmt":"2021-01-12T01:36:54","guid":{"rendered":"https:\/\/itport.cloud\/?p=13453"},"modified":"2021-01-12T10:57:35","modified_gmt":"2021-01-12T01:57:35","slug":"post-13453","status":"publish","type":"post","link":"https:\/\/itport.cloud\/?p=13453","title":{"rendered":"(\u7b2c3\u56de)Electron\u3067\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u958b\u767a\u3057\u3088\u3046\uff08\u88fd\u9020\u7de8\u2461\uff09"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"e79baee6aca1-1\">\u76ee\u6b21<\/h2>\n\n\n\n<p><a href=\"#1\">\u306f\u3058\u3081\u306b<\/a><br><a href=\"#2\">jKanban<\/a><br><a href=\"#3\">\u304b\u3093\u3070\u3093\u3092\u8868\u793a\u3059\u308b<\/a><br><a href=\"#4\">\u30bf\u30b9\u30af\u3092\u8ffd\u52a0\u3059\u308b<\/a><br><a href=\"#5\">\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3092\u8868\u793a\u3059\u308b<\/a><br><a href=\"#7\">\u6b21\u56de\u4e88\u544a<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u524d\u56de\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8d77\u52d5\u307e\u3067\u3092\u884c\u3044\u307e\u3057\u305f\u3002 <br>\u4eca\u56de\u304b\u3089\u306f\u3001\u7c21\u5358\u306a\u304b\u3093\u3070\u3093\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3057\u306a\u304c\u3089Electron\u306e\u6a5f\u80fd\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/itport-electron-kanban.gif\" alt=\"\" class=\"wp-image-13466\" width=\"397\" height=\"234\"\/><figcaption>\u304b\u3093\u3070\u3093\u30a2\u30d7\u30ea\u306e\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2\">jKanban<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u304b\u3093\u3070\u3093\u30a2\u30d7\u30ea\u306e\u753b\u9762\u3092\u7c21\u5358\u306b\u4f5c\u6210\u3059\u308b\u305f\u3081\u3001JavaScript\u306e\u304b\u3093\u3070\u3093\u30a2\u30d7\u30ea\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u300cjKanban\u300d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br><strong>jKanban\uff1a<a href=\"https:\/\/github.com\/riktar\/jkanban\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">https:\/\/github.com\/riktar\/jkanban<\/a><\/strong><\/p>\n\n\n\n<p>jKanban\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001github\u304b\u3089\u53d6\u5f97\u3057\u305fjs\u3068css\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u542b\u3081\u307e\u3059\u3002<br>index.html\u3067\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b<strong>jkanban.min.css<\/strong>\u3068<strong>jkanban.min.js<\/strong>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br>\u203b\u30c7\u30b6\u30a4\u30f3\u7528\u306bbootstrap\u306ecss\u3082\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; highlight: [9,10,11]; title: ; notranslate\" title=\"\">\n<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"UTF-8\">\n    <title>itport-electron<\/title>\n    <!-- https:\/\/electronjs.org\/docs\/tutorial\/security#csp-meta-tag -->\n    <meta http-equiv=\"Content-Security-Policy\" content=\"script-src 'self' 'unsafe-inline';\" \/>\n    <link rel=\"stylesheet\" href=\"https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.3.1\/css\/bootstrap.min.css\" integrity=\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH\/1fQ784\/j6cY\/iJTQUOhcWr7x9JvoRxT2MZw1T\" crossorigin=\"anonymous\">\n<!-- jKanban\u3092\u8ffd\u52a0 -->\n    <link rel=\"stylesheet\" href=\".\/dist\/jkanban.min.css\">\n    <script src=\".\/dist\/jkanban.min.js\"><\/script>\n  <\/head>\n  <body>\n    <h1 id=\"hello-world-2\">Hello World!<\/h1>\n    \u3053\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u4ee5\u4e0b\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\n    <ul>\n        <li>node  <script>document.write(process.versions.node)<\/script><\/li>\n        <li>chrome  <script>document.write(process.versions.chrome)<\/script><\/li>\n        <li>Electron  <script>document.write(process.versions.electron)<\/script><\/li>\n    <\/ul>\n  <\/body>\n<\/html>\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"3\">\u304b\u3093\u3070\u3093\u3092\u8868\u793a\u3059\u308b<\/h2>\n\n\n\n<p>jKanban\u3092\u4f7f\u3063\u3066\u304b\u3093\u3070\u3093\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u3001body\u30bf\u30b0\u5185\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n<body>\n    <div style=\"margin:10px;\">\n        <div id=\"kanban\"><\/div><!-- \u3053\u3053\u306b\u304b\u3093\u3070\u3093\u3092\u8868\u793a\u3057\u307e\u3059 -->\n    <\/div>\n\n<script>\n<!-- \u3053\u3053\u306b\u304b\u3093\u3070\u3093\u3092\u8868\u793a\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8a18\u8f09\u3057\u307e\u3059 -->\n<\/script>\n<\/body>\n<\/pre><\/div>\n\n\n<p>HTML\u3068\u3057\u3066\u306f\u4ee5\u4e0a\u3067\u3001script\u5185\u306bjKanban\u3092\u4f7f\u3063\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8a18\u8f09\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br>\u304b\u3093\u3070\u3093\u81ea\u4f53\u306fID\u5c5e\u6027\u300ckanban\u300d\u306b\u5bfe\u3057\u3066\u8868\u793a\u3092\u884c\u3046\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>jKanban\u306e\u4f7f\u3044\u65b9\u306f\u7c21\u5358\u3067\u3059\u3002<br>\u4ee5\u4e0b\u306e\u66f8\u304d\u65b9\u3067jKanban\u3092\u521d\u671f\u5316\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nvar kanban = new jKanban(options)\n<\/pre><\/div>\n\n\n<p> \u4eca\u56de\u306f\u6700\u4f4e\u9650\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\u4f7f\u7528\u3057\u307e\u3059\u3002\u305d\u306e\u4ed6\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u306fgithub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\u4eca\u56de\u306f\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5185\u5bb9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n    <script>\n        var boards = &#x5B;\n            {\n                \"id\": \"board-1\",\n                \"title\": \"\u672a\u5bfe\u5fdc\",\n                \"class\": \"bg-danger\",\n            },\n            {\n                \"id\": \"board-2\",\n                \"title\": \"\u51e6\u7406\u4e2d\",\n                \"class\": \"bg-primary\",\n            },\n            {\n                \"id\": \"board-3\",\n                \"title\": \"\u51e6\u7406\u6e08\u307f\",\n                \"class\": \"bg-success\",\n            },\n            {\n                \"id\": \"board-4\",\n                \"title\": \"\u5b8c\u4e86\",\n                \"class\": \"bg-info\",\n            },\n        ];\n        var kanban = new jKanban({\n            element: \"#kanban\",     \/\/\u30dc\u30fc\u30c9\u8868\u793a\u5bfe\u8c61\u306e\u8981\u7d20\n            gutter: '5px',         \/\/\u30dc\u30fc\u30c9\u540c\u58eb\u306e\u9593\u9694\n            widthBoard: '250px',    \/\/\u30dc\u30fc\u30c9\u306e\u30b5\u30a4\u30ba\n            boards: boards,         \/\/\u521d\u671f\u30c7\u30fc\u30bf\n        });\n    <\/script>\n<\/pre><\/div>\n\n\n<p>\u30dc\u30fc\u30c9\u306e\u30b5\u30a4\u30ba\u3084\u30dc\u30fc\u30c9\u9593\u306e\u9593\u9694\u3068\u521d\u671f\u8868\u793a\u6642\u306e\u30c7\u30fc\u30bf\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br>\u521d\u671f\u30c7\u30fc\u30bf\u3068\u3057\u3066\u300c\u672a\u5bfe\u5fdc\u300d\u300c\u51e6\u7406\u4e2d\u300d\u300c\u51e6\u7406\u6e08\u307f\u300d\u300c\u5b8c\u4e86\u300d\u306e4\u3064\u306e\u30dc\u30fc\u30c9\u3092\u30c7\u30fc\u30bf\u7121\u3057\u3067\u6307\u5b9a\u3057\u3066\u304a\u308a\u3001class\u306b\u306fbootstrap\u306ecss\u3067\u304b\u3093\u3070\u3093\u306e\u8272\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br>\u3053\u3053\u307e\u3067\u306e\u5185\u5bb9\u3067\u3001\u4e00\u5ea6\u753b\u9762\u3092\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"657\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_12h35_57-1024x657.png\" alt=\"\" class=\"wp-image-13461\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_12h35_57-1024x657.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_12h35_57-300x192.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_12h35_57-768x493.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_12h35_57-450x289.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_12h35_57-900x577.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_12h35_57.png 1066w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>\u610f\u56f3\u3057\u305f\u3068\u304a\u308a \u300c\u672a\u5bfe\u5fdc\u300d\u300c\u51e6\u7406\u4e2d\u300d\u300c\u51e6\u7406\u6e08\u307f\u300d\u300c\u5b8c\u4e86\u300d \u306e\uff14\u3064\u306e\u30dc\u30fc\u30c9\u304c\u8272\u5206\u3051\u3055\u308c\u3066\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<br>\u3053\u306e\u307e\u307e\u3067\u306f\u3001\u30bf\u30b9\u30af\u306e\u8ffd\u52a0\u304c\u51fa\u6765\u306a\u3044\u306e\u3067\u3001\u6b21\u306b\u30bf\u30b9\u30af\u304c\u8ffd\u52a0\u3067\u304d\u308b\u3088\u3046\u306b\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4\">\u30bf\u30b9\u30af\u3092\u8ffd\u52a0\u3059\u308b<span style=\"background-color: #e8eaeb;\"><\/h2>\n\n\n\n<p>\u30bf\u30b9\u30af\u306e\u8ffd\u52a0\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u3001\u30dc\u30bf\u30f3\u306e\u8868\u793a\u3068\u30dc\u30bf\u30f3\u9078\u629e\u6642\u306e\u52d5\u4f5c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br>\u30bf\u30b9\u30af\u8ffd\u52a0\u30dc\u30bf\u30f3\u306f\u3001jKanban\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u300citemAddOptions\u300d\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u8868\u793a\u3057\u307e\u3059\u3002<br>\u30bf\u30b9\u30af\u8ffd\u52a0\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u969b\u306e\u30a4\u30d9\u30f3\u30c8\u306f\u300cbuttonClick\u300d\u306b\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n        var kanban = new jKanban({\n            element: \"#kanban\",     \/\/\u30dc\u30fc\u30c9\u8868\u793a\u5bfe\u8c61\u306e\u8981\u7d20\n            gutter: '5px',         \/\/\u30dc\u30fc\u30c9\u540c\u58eb\u306e\u9593\u9694\n            widthBoard: '250px',    \/\/\u30dc\u30fc\u30c9\u306e\u30b5\u30a4\u30ba\n            boards: boards,         \/\/\u521d\u671f\u30c7\u30fc\u30bf\n            dragBoards: false,       \/\/\u30dc\u30fc\u30c9\u306e\u30c9\u30e9\u30c3\u30b0\n            itemAddOptions: {       \/\/\u30bf\u30b9\u30af\u8ffd\u52a0\u7528\u306e\u30dc\u30bf\u30f3\u3092\u8868\u793a\n                enabled: true,                                      \/\/ \u8ffd\u52a0\u30dc\u30bf\u30f3\u8868\u793a\n                content: '+',                                       \/\/ \u30dc\u30bf\u30f3\u30c6\u30ad\u30b9\u30c8\n                class: 'kanban-title-button btn btn-light btn-sm',  \/\/ \u30dc\u30bf\u30f3\u306b\u8a2d\u5b9a\u3059\u308bclass\n                footer: false                                       \/\/ \u8868\u793a\u4f4d\u7f6e\n            },\n            buttonClick: function (el, boardId) {\n                \/\/ \u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u3066\u30dc\u30fc\u30c9\u306b\u8ffd\u52a0\n                const formItem = document.createElement('form');\n                formItem.innerHTML = '<input type=\"text\" class=\"form-control\" placeholder=\"\u8ab2\u984c\u3092\u5165\u529b...\">'\n                formItem.innerHTML += '<button type=\"submit\" class=\"btn btn-primary btn-sm\">\u8ffd\u52a0<\/button>'\n                formItem.innerHTML += '<button type=\"button\" class=\"btn btn-secondary btn-sm\">\u30ad\u30e3\u30f3\u30bb\u30eb<\/button>';\n                kanban.addForm(boardId, formItem);\n\n                \/\/\u30ad\u30e3\u30f3\u30bb\u30eb\u30dc\u30bf\u30f3\n                formItem.elements&#x5B;2].addEventListener(\"click\", (e) => {\n                    formItem.parentNode.removeChild(formItem); \/\/\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u524a\u9664\n                });\n                \/\/\u30bf\u30b9\u30af\u8ffd\u52a0\u51e6\u7406\n                formItem.addEventListener('submit', (e) => {\n                    e.preventDefault();\n                    var title = e.target&#x5B;0].value;\n                    \/\/ 0\u6587\u5b57\u306e\u5834\u5408\u767b\u9332\u3057\u306a\u3044\n                    if (title.length == 0) {\n                        return;\n                    }\n                    kanban.addElement(boardId, { \"title\": title}); \/\/\u5165\u529b\u3055\u308c\u305f\u6587\u5b57\u5217\u3092\u30bf\u30b9\u30af\u3068\u3057\u3066\u767b\u9332\n                    formItem.parentNode.removeChild(formItem); \/\/\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u524a\u9664\n                }) \n            },\n        });\n<\/pre><\/div>\n\n\n<p>\u4eca\u56de\u306f\u3001\u8ffd\u52a0\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u3068\u8ffd\u52a0\u30fb\u30ad\u30e3\u30f3\u30bb\u30eb\u306e\u30dc\u30bf\u30f3\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<br>\u5b9f\u969b\u306e\u753b\u9762\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1066\" height=\"684\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/itport-electron-kanban.gif\" alt=\"\" class=\"wp-image-13466\"\/><\/figure><\/div>\n\n\n\n<p>\u610f\u56f3\u3057\u305f\u3068\u304a\u308a\u3001\u30dc\u30fc\u30c9\u306e\u30bf\u30a4\u30c8\u30eb\u306b\u300c\uff0b\u300d\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u3001\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3053\u3068\u3067\u30dc\u30fc\u30c9\u306b\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u3068\u8ffd\u52a0\u30fb\u30ad\u30e3\u30f3\u30bb\u30eb\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u306b\u3088\u308a\u3001\u30bf\u30b9\u30af\u3092\u5225\u306e\u30dc\u30fc\u30c9\u3078\u79fb\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"5\">\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3092\u8868\u793a\u3059\u308b<\/h2>\n\n\n\n<p>Electron\u306fChromium\uff08Google\u304c\u958b\u767a\u3057\u3066\u3044\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30d6\u30e9\u30a6\u30b6\uff09\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001GoogleChrome\u306a\u3069\u306e\u30d6\u30e9\u30a6\u30b6\u3068\u540c\u69d8\u306b\u3001\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3092\u8868\u793a\u3067\u304d\u307e\u3059\u3002<br>HTML\u3084JavaScript\u3092\u8a18\u8f09\u3057\u3066\u3044\u308b\u3068\u3001\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u8868\u793a\u3057\u305f\u308a\u3001CSS\u306e\u78ba\u8a8d\u3092\u3057\u305f\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br>main.js\u3067\u300copenDevTools()\u300d\u3092\u547c\u3076\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u8d77\u52d5\u6642\u70b9\u3067\u958b\u767a\u8005\u30c4\u30fc\u30eb\u304c\u8868\u793a\u3067\u304d\u307e\u3059\u3002main.js\u306b\u8ffd\u52a0\u3057\u305f\u5834\u5408\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n\/\/main.js\nconst { app, BrowserWindow } = require('electron')\n\nfunction createWindow () {\n  \/\/ \u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u4f5c\u6210\n  let win = new BrowserWindow({\n    width: 800,\n    height: 600,\n    webPreferences: {\n      nodeIntegration: true\n    }\n  })\n\n  \/\/ \u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8aad\u307f\u8fbc\u3080\u753b\u9762\u3092\u6307\u5b9a\n    win.loadFile('index.html')\n    win.webContents.openDevTools();\/\/ \u958b\u767a\u8005\u30c4\u30fc\u30eb\u3092\u958b\u304f\n}\napp.whenReady().then(createWindow)\n<\/pre><\/div>\n\n\n<p>1\u6587\u8ffd\u52a0\u3057\u305f\u3053\u3068\u3067\u3001chrome\u3067\u898b\u308b\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3068\u307b\u3068\u3093\u3069\u540c\u3058\u753b\u9762\u304c\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3068\u306f\u5225\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"898\" height=\"687\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_13h07_31-1.png\" alt=\"\" class=\"wp-image-13473\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_13h07_31-1.png 898w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_13h07_31-1-300x230.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_13h07_31-1-768x588.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_13h07_31-1-418x320.png 418w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/12\/2020-12-22_13h07_31-1-837x640.png 837w\" sizes=\"auto, (max-width: 898px) 100vw, 898px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"7\">\u6b21\u56de\u4e88\u544a<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u304b\u3093\u3070\u3093\u30a2\u30d7\u30ea\u306e\u753b\u9762\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<br>\u73fe\u72b6\u3067\u306f\u8d77\u52d5\u3059\u308b\u305f\u3073\u306b\u30bf\u30b9\u30af\u304c\u30af\u30ea\u30a2\u3055\u308c\u305f\u72b6\u614b\u3068\u306a\u308b\u306e\u3067\u3001\u6b21\u56de\u304b\u3089\u306f\u8ffd\u52a0\u3057\u305f\u30bf\u30b9\u30af\u306e\u4fdd\u5b58\u3068\u4fdd\u5b58\u30c7\u30fc\u30bf\u306e\u8868\u793a\u3092\u884c\u3044\u307e\u3059\u3002<br><\/p>\n","protected":false},"excerpt":{"rendered":"\u76ee\u6b21 \u306f\u3058\u3081\u306bjKanban\u304b\u3093\u3070\u3093\u3092\u8868\u793a\u3059\u308b\u30bf\u30b9\u30af\u3092\u8ffd\u52a0\u3059\u308b\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3092\u8868\u793a\u3059\u308b\u6b21\u56de\u4e88\u544a \u306f\u3058\u3081\u306b \u524d\u56de\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8d77\u52d5\u307e\u3067\u3092\u884c\u3044\u307e\u3057\u305f\u3002 \u4eca\u56de\u304b\u3089\u306f\u3001\u7c21\u5358\u306a\u304b\u3093\u3070\u3093\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3057\u306a\u304c\u3089Electron\u306e\u6a5f\u80fd\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u304b\u3093\u3070\u3093\u30a2\u30d7\u30ea\u306e\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8 jKanban \u4eca\u56de\u306f\u304b\u3093\u3070\u3093\u30a2\u30d7\u30ea\u306e\u753b\u9762\u3092\u7c21\u5358\u306b\u4f5c\u6210\u3059\u308b\u305f\u3081\u3001JavaScript\u306e\u304b\u3093\u3070\u3093\u30a2\u30d7\u30ea\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u300cjKanban\u300d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002jKanban\uff1ahttps:\/\/github.com\/riktar\/jkanban jKanban\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001github\u304b\u3089\u53d6\u5f97\u3057\u305fjs\u3068css\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u542b\u3081\u307e\u3059\u3002index.html\u3067\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306bjkanban.&hellip;","protected":false},"author":24,"featured_media":13481,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[70],"class_list":{"0":"post-13453","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-electron","8":"tag-season23"},"_links":{"self":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/13453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13453"}],"version-history":[{"count":36,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/13453\/revisions"}],"predecessor-version":[{"id":13664,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/13453\/revisions\/13664"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/media\/13481"}],"wp:attachment":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}