{"id":6294,"date":"2020-03-23T06:06:24","date_gmt":"2020-03-22T21:06:24","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=6294"},"modified":"2020-03-23T06:06:57","modified_gmt":"2020-03-22T21:06:57","slug":"firebase-vue%e3%81%a7%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e6%a9%9f%e8%83%bd%e3%82%92%e3%81%a4%e3%81%8f%e3%82%8b","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=6294","title":{"rendered":"Firebase + Vue\u3067\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u3064\u304f\u308b"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u79c1\u306f\u65b0\u3057\u3044\u60c5\u5831\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u30cb\u30e5\u30fc\u30b9\u3084\u30d6\u30ed\u30b0\u3060\u3051\u3067\u306a\u304f\u3001\u6d77\u5916\u306e\u63b2\u793a\u677f\u3082\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3088\u3046\u5fc3\u639b\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u3093\u306a\u4e2d\u3067\u305f\u3073\u305f\u3073\u767b\u5834\u3059\u308b\u3042\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u3042\u3063\u3066\u3001\u300c<strong>\u6642\u9593\u304c\u3067\u304d\u305f\u3089\u8a66\u3057\u3066\u307f\u3088\u3046\uff01<\/strong>\u300d\u3068\u8003\u3048\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u306f\u3001<\/p>\n<p><strong style=\"font-size: 35px;\">\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9 \ud83d\udcbb<\/strong><\/p>\n<p>\u3067\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u3068\u306f\u3001\u7c21\u5358\u306b\u8a00\u3046\u3068\u300c<strong>\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u306f\u30af\u30e9\u30a6\u30c9\u306b\u304a\u307e\u304b\u305b\uff01<\/strong>\u300d\u3068\u3044\u3046\u610f\u5473\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u306e\u624b\u9593\u3092\u7701\u3051\u308b\u3068\u3044\u3046\u306e\u304c\u5927\u304d\u306a\u30e1\u30ea\u30c3\u30c8\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\uff01<\/p>\n<p>\u305d\u3093\u306a\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u3092\u5b9f\u88c5\u3059\u308b\u30b5\u30a4\u30c8\u306f\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u304c\u3001\u79c1\u304c\u6c17\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u306f\u3088\u304f\u8a71\u984c\u306b\u306a\u308b<code>Google<\/code>\u306e\u300c<strong><a href=\"https:\/\/firebase.google.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Firebase<\/a><\/strong>\u300d\u3067\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u4eca\u56de\u306f<code>Firebase<\/code>\u3092\u4f7f\u3063\u3066\u30ed\u30b0\u30a4\u30f3\u95a2\u9023\u306e\u6a5f\u80fd\u3092\u3064\u304f\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u306e\u304a\u5f79\u306b\u7acb\u3066\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\ud83d\ude0a\u2728<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6066 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/no_23.png\" alt=\"\" width=\"370\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/no_23.png 370w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/no_23-300x259.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Firebase JavaScript SDK 7.12.0<\/p>\n<h1>Firebase\u306e\u6e96\u5099<\/h1>\n<h2>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u3064\u304f\u308b<\/h2>\n<p>\u307e\u305a<code>Firebase<\/code>\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u300c<strong>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u3059\u307f\u307e\u305b\u3093\u3001\u767b\u9332\u306f\u305d\u306e\u6614\u306b\u3084\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u7701\u7565\u3055\u305b\u3066\u304f\u3060\u3055\u3044\ud83d\ude05\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6315\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_1.png\" alt=\"\" width=\"608\" height=\"262\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_1.png 608w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_1-300x129.png 300w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u3001\u898f\u7d04\u306e\u540c\u610f\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u305f\u3089\u300c<strong>\u7d9a\u884c<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6305\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_2.png\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_2.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_2-300x225.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u6b21\u306b\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3092\u4f7f\u3046\u304b\u3069\u3046\u304b\u805e\u304b\u308c\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u30c6\u30b9\u30c8\u306a\u306e\u3067\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3057\u3066\u300c<strong>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6314\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_3.png\" alt=\"\" width=\"640\" height=\"149\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_3.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_3-300x70.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u3059\u308b\u3068\u3001\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6313\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_4.png\" alt=\"\" width=\"432\" height=\"355\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_4.png 432w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_4-300x247.png 300w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<h2>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a<\/h2>\n<p>\u7d9a\u3044\u3066<code>JavaScript<\/code>\u3067<code>Firebase<\/code>\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<br \/>\n<code>&lt;\/&gt;<\/code>\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6312\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_5.png\" alt=\"\" width=\"474\" height=\"487\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_5.png 474w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_5-292x300.png 292w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/p>\n<p>\u305d\u3057\u3066\u3001\u30a2\u30d7\u30ea\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u300c<strong>\u30a2\u30d7\u30ea\u3092\u767b\u9332<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6304\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_6.png\" alt=\"\" width=\"556\" height=\"373\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_6.png 556w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_6-300x201.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/p>\n<p>\u3059\u308b\u3068\u3001<code>JavaScript<\/code>\u30b3\u30fc\u30c9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u3053\u306e\u4e2d\u306e<code>firebaseConfig<\/code>\u306e\u5185\u5bb9\u306f\u5f8c\u3067\u5fc5\u8981\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u306e\u3067\u3001\u63a7\u3048\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6311\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_7.png\" alt=\"\" width=\"640\" height=\"495\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_7.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_7-300x232.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u305d\u3057\u3066\u3001\u300c\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u9032\u3080\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6310\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_8.png\" alt=\"\" width=\"184\" height=\"64\" \/><\/p>\n<p>\u7d9a\u3044\u3066\u30d7\u30ed\u30c0\u30af\u30c8\u3092\u300c<strong>Authentication<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6309\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_9.png\" alt=\"\" width=\"640\" height=\"308\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_9.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_9-300x144.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u305d\u3057\u3066\u3001\u300c<strong>\u30ed\u30b0\u30a4\u30f3\u65b9\u6cd5\u3092\u8a2d\u5b9a<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6308\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_10.png\" alt=\"\" width=\"624\" height=\"250\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_10.png 624w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_10-300x120.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/p>\n<p><code>Firebase<\/code>\u306b\u306f\u8a8d\u8a3c\u65b9\u6cd5\u304c\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u57fa\u672c\u7684\u306a\u300c<strong>\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9 + \u30d1\u30b9\u30ef\u30fc\u30c9<\/strong>\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6307\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_11.png\" alt=\"\" width=\"618\" height=\"286\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_11.png 618w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_11-300x139.png 300w\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" \/><\/p>\n<p>\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u300c<strong>\u6709\u52b9\u306b\u3059\u308b<\/strong>\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u300c<strong>\u4fdd\u5b58<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6306\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_12.png\" alt=\"\" width=\"640\" height=\"218\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_12.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_12-300x102.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u3053\u308c\u3067<code>Firebase<\/code>\u306e\u6e96\u5099\u306f\u5b8c\u4e86\u3067\u3059\uff01<\/p>\n<h1>\u30ed\u30b0\u30a4\u30f3\u3001\u30ed\u30b0\u30a2\u30a6\u30c8\u3001\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u6a5f\u80fd\u3092\u3064\u304f\u308b<\/h1>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\n\u307e\u305a\u306f\u3001\u57fa\u672c\u306b\u306a\u308b\u4ee5\u4e0b\uff13\u3064\u306e\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u30ed\u30b0\u30a4\u30f3<\/li>\n<li>\u30ed\u30b0\u30a2\u30a6\u30c8<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u767b\u9332<\/li>\n<\/ul>\n<p><strong><code>auth.html<\/code><\/strong><\/p>\n<pre>&lt;html&gt;\r\n&lt;head&gt;\r\n    &lt;link rel=\"stylesheet\" href=\"https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.3.1\/css\/bootstrap.min.css\"&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    &lt;div id=\"app\" class=\"container pt-3\"&gt;\r\n        &lt;div v-if=\"sending\"&gt;\r\n            \u9001\u4fe1\u4e2d...\r\n        &lt;\/div&gt;\r\n        &lt;div v-if=\"user\"&gt;\r\n            &lt;h1&gt;\u30ed\u30b0\u30a4\u30f3\u304c\u6210\u529f\u3057\u307e\u3057\u305f&lt;\/h1&gt;\r\n            &lt;button type=\"button\" class=\"btn btn-primary mb-3\" @click=\"logout\"&gt;\u30ed\u30b0\u30a2\u30a6\u30c8&lt;\/button&gt;\r\n            &lt;pre class=\"bg-light p-3\" v-text=\"user\"&gt;&lt;\/pre&gt;\r\n        &lt;\/div&gt;\r\n        &lt;div class=\"row\"&gt;\r\n            &lt;div class=\"col-6\"&gt;\r\n                &lt;div class=\"form-group\"&gt;\r\n                    &lt;label&gt;\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&lt;\/label&gt;\r\n                    &lt;input type=\"text\" class=\"form-control\" v-model=\"email\"&gt;\r\n                &lt;\/div&gt;\r\n                &lt;div class=\"form-group\"&gt;\r\n                    &lt;label&gt;\u30d1\u30b9\u30ef\u30fc\u30c9&lt;\/label&gt;\r\n                    &lt;input type=\"password\" class=\"form-control\" v-model=\"password\"&gt;\r\n                &lt;\/div&gt;\r\n                &lt;div class=\"form-group\"&gt;\r\n                    &lt;button type=\"button\" class=\"btn btn-danger mr-3\" :disabled=\"sending\" @click=\"register\"&gt;\u30e6\u30fc\u30b6\u30fc\u767b\u9332&lt;\/button&gt;\r\n                    &lt;button type=\"button\" class=\"btn btn-primary\" :disabled=\"sending\" @click=\"login\"&gt;\u30ed\u30b0\u30a4\u30f3&lt;\/button&gt;\r\n                &lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;script src=\"https:\/\/www.gstatic.com\/firebasejs\/7.12.0\/firebase-app.js\"&gt;&lt;\/script&gt;\r\n    &lt;script src=\"https:\/\/www.gstatic.com\/firebasejs\/7.12.0\/firebase-auth.js\"&gt;&lt;\/script&gt;\r\n    &lt;script src=\"https:\/\/cdn.jsdelivr.net\/npm\/vue\/dist\/vue.min.js\"&gt;&lt;\/script&gt;\r\n    &lt;script&gt;\r\n\r\n        new Vue({\r\n            el: '#app',\r\n            data: {\r\n                email: '',\r\n                password: '',\r\n                user: null,\r\n                sending: false\r\n            },\r\n            methods: {\r\n                register() {\r\n\r\n                    this.sending = true;\r\n\r\n                    firebase.auth()\r\n                        .<strong>createUserWithEmailAndPassword<\/strong>(this.email, this.password)\r\n                        .catch(error =&gt; {   \/\/ \u30a8\u30e9\u30fc\u306e\u5834\u5408\r\n\r\n                            alert('\u767b\u9332\u60c5\u5831\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002');\r\n\r\n                        })\r\n                        .finally(() =&gt; {\r\n\r\n                            this.sending = false;\r\n\r\n                        });\r\n\r\n                },\r\n                login() {\r\n\r\n                    this.sending = true;\r\n\r\n                    firebase.auth()\r\n                        .<strong>signInWithEmailAndPassword<\/strong>(this.email, this.password)\r\n                        .catch(error =&gt; {   \/\/ \u30a8\u30e9\u30fc\u306e\u5834\u5408\r\n\r\n                            alert('\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u304c\u9593\u9055\u3063\u3066\u3044\u307e\u3059\u3002');\r\n\r\n                        })\r\n                        .finally(() =&gt; {\r\n\r\n                            this.sending = false;\r\n\r\n                        });\r\n\r\n                },\r\n                logout() {\r\n\r\n                    firebase.auth().signOut();\r\n\r\n                }\r\n            },\r\n            mounted() {\r\n\r\n                \/\/ firebase\u3092\u6e96\u5099\r\n                <strong>const firebaseConfig = {<\/strong>\r\n<strong>                    apiKey: \"**********************************\",<\/strong>\r\n<strong>                    authDomain: \"**********************************\",<\/strong>\r\n<strong>                    databaseURL: \"**********************************\",<\/strong>\r\n<strong>                    projectId: \"**********************************\",<\/strong>\r\n<strong>                    storageBucket: \"**********************************\",<\/strong>\r\n<strong>                    messagingSenderId: \"**********************************\",<\/strong>\r\n<strong>                    appId: \"**********************************\"<\/strong>\r\n<strong>                };<\/strong>\r\n                firebase.initializeApp(firebaseConfig);\r\n\r\n                \/\/ \u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u304c\u5909\u5316\u3057\u305f\u3089\u5b9f\u884c\r\n                <strong>firebase.auth().onAuthStateChanged(user =&gt; {\r\n\r\n                    if(user) {\r\n\r\n                        this.user = user;\r\n                        this.email = '';\r\n                        this.password = '';\r\n\r\n                    } else {\r\n\r\n                        this.user = null;\r\n\r\n                    }\r\n\r\n                });<\/strong>\r\n\r\n            }\r\n        });\r\n\r\n    &lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u3053\u306e\u4e2d\u3067\u91cd\u8981\u306a\u306e\u304c<code>mounted()<\/code>\u5185\u306b\u3042\u308b<code>firebaseConfig<\/code>\u306e\u90e8\u5206\u3067\u3059\u3002<br \/>\n\u3053\u3053\u306f\u3001\u5148\u307b\u3069<code>Firebase<\/code>\u306e\u6e96\u5099\u3067\u53d6\u5f97\u3057\u305f\u3082\u306e\u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u306e\u4e0b\u306b\u3042\u308b<code>onAuthStateChanged()<\/code>\u306f\u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u304c\u5909\u5316\u3059\u308b\u3068\u5b9f\u884c\u3055\u308c\u308b\u90e8\u5206\u3067\u3001\u4f8b\u3048\u3070\u30ed\u30b0\u30a4\u30f3\u3084\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u306b\u6210\u529f\u3057\u305f\u308a\u3001\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u305f\u5834\u5408\u306b\u547c\u3070\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u5b9f\u969b\u306b\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3057\u3066\u3044\u308b\u306e\u306f<code>createUserWithEmailAndPassword()<\/code>\u3067\u3001\u30ed\u30b0\u30a4\u30f3\u306f<code>signInWithEmailAndPassword()<\/code>\u306b\u306a\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u304c<code>Vue<\/code>\u3067\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\uff08\u3061\u306a\u307f\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3057\u305f\u6642\u70b9\u3067\u30ed\u30b0\u30a4\u30f3\u3082\u5b8c\u4e86\u3057\u3066\u3044\u307e\u3059\uff09<\/p>\n<h1>\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u66f4\u65b0\u3059\u308b<\/h1>\n<p>\u5148\u307b\u3069\u306e\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3067\u306f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3060\u3051\u3092\u767b\u9332\u3057\u307e\u3057\u305f\u304c\u3001<code>Firebase<\/code>\u3067\u306f\u3001\u305d\u306e\u4ed6\u306e\u30c7\u30fc\u30bf\u3082\u4fdd\u5b58\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u4eca\u56de\u306f\u300c<strong>\u30e6\u30fc\u30b6\u30fc\u540d<\/strong>\u300d\u3092\u767b\u9332\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u203b\u306a\u304a\u3001\u3082\u3061\u308d\u3093HTML\u30d5\u30a1\u30a4\u30eb\u3067\u5b9f\u884c\u53ef\u80fd\u3067\u3059\u304c\u3001\u5148\u306b\u30ed\u30b0\u30a4\u30f3\u3092\u3057\u3066\u304b\u3089\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong><code>update.html<\/code><\/strong><\/p>\n<pre>&lt;html&gt;\r\n&lt;head&gt;\r\n    &lt;link rel=\"stylesheet\" href=\"https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.3.1\/css\/bootstrap.min.css\"&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    &lt;div id=\"app\" class=\"container pt-3\"&gt;\r\n        &lt;div v-if=\"sending\"&gt;\r\n            \u9001\u4fe1\u4e2d...\r\n        &lt;\/div&gt;\r\n        &lt;div class=\"row\" v-if=\"user\"&gt;\r\n            &lt;div class=\"col-6\"&gt;\r\n                &lt;h1&gt;\u540d\u524d\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044&lt;\/h1&gt;\r\n                &lt;div class=\"form-group\"&gt;\r\n                    &lt;input type=\"text\" class=\"form-control\" v-model=\"userName\"&gt;\r\n                &lt;\/div&gt;\r\n                &lt;button type=\"button\" class=\"btn btn-primary\" @click=\"save\"&gt;\u4fdd\u5b58\u3059\u308b&lt;\/button&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"col-6\"&gt;\r\n                &lt;h1&gt;\u30e6\u30fc\u30b6\u30fc\u60c5\u5831&lt;\/h1&gt;\r\n                &lt;pre class=\"bg-light p-3\" v-text=\"user\"&gt;&lt;\/pre&gt;\r\n            &lt;\/div&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;script src=\"https:\/\/www.gstatic.com\/firebasejs\/7.12.0\/firebase-app.js\"&gt;&lt;\/script&gt;\r\n    &lt;script src=\"https:\/\/www.gstatic.com\/firebasejs\/7.12.0\/firebase-auth.js\"&gt;&lt;\/script&gt;\r\n    &lt;script src=\"https:\/\/cdn.jsdelivr.net\/npm\/vue\/dist\/vue.min.js\"&gt;&lt;\/script&gt;\r\n    &lt;script&gt;\r\n\r\n        new Vue({\r\n            el: '#app',\r\n            data: {\r\n                userName: '',\r\n                user: null,\r\n                sending: false\r\n            },\r\n            methods: {\r\n                <strong>save() {<\/strong>\r\n\r\n<strong>                    this.sending = true;<\/strong>\r\n\r\n<strong>                    if(this.user){<\/strong>\r\n\r\n<strong>                        this.user.updateProfile({<\/strong>\r\n<strong>                            displayName: this.userName<\/strong>\r\n<strong>                        })<\/strong>\r\n<strong>                        .catch(error =&gt; {<\/strong>\r\n\r\n<strong>                            alert('\u5931\u6557\u3057\u307e\u3057\u305f\u3002');<\/strong>\r\n\r\n<strong>                        })<\/strong>\r\n<strong>                        .finally(() =&gt; {<\/strong>\r\n\r\n<strong>                            this.sending = false;<\/strong>\r\n\r\n<strong>                        });<\/strong>\r\n\r\n<strong>                    }<\/strong>\r\n\r\n<strong>                }<\/strong>\r\n            },\r\n            mounted() {\r\n\r\n                \/\/ firebase\u3092\u6e96\u5099\r\n                const firebaseConfig = {\r\n                    apiKey: \"<strong>**********************************<\/strong>\",\r\n                    authDomain: \"<strong>**********************************<\/strong>\",\r\n                    databaseURL: \"<strong>**********************************<\/strong>\",\r\n                    projectId: \"<strong>**********************************<\/strong>\",\r\n                    storageBucket: \"<strong>**********************************<\/strong>\",\r\n                    messagingSenderId: \"<strong>**********************************<\/strong>\",\r\n                    appId: \"<strong>**********************************<\/strong>\"\r\n                };\r\n                firebase.initializeApp(firebaseConfig);\r\n\r\n                \/\/ \u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u304c\u5909\u5316\u3057\u305f\u3089\u5b9f\u884c\r\n                firebase.auth().onAuthStateChanged(user =&gt; {\r\n\r\n                    if(user) {\r\n\r\n                        this.user = user;\r\n\r\n                    } else {\r\n\r\n                        this.user = null;\r\n\r\n                    }\r\n\r\n                });\r\n\r\n            }\r\n        });\r\n\r\n    &lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p><span style=\"font-size: 1rem;\">\u3053\u306e\u4e2d\u3067\u5b9f\u969b\u306b<code>Firebase<\/code>\u3078\u30c7\u30fc\u30bf\u9001\u4fe1\u3057\u3066\u3044\u308b\u306e\u304c\u3001<\/span><code>updateProfile()<\/code><span style=\"font-size: 1rem;\">\u3067\u3059\u3002\u305d\u3057\u3066\u3001<\/span><code>displayName<\/code><span style=\"font-size: 1rem;\">\u304c\u30e6\u30fc\u30b6\u30fc\u540d\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<h1>\u30d1\u30b9\u30ef\u30fc\u30c9\u518d\u767a\u884c<\/h1>\n<p>\u3067\u306f\u3001\u6700\u5f8c\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u518d\u767a\u884c\u3059\u308b\u6a5f\u80fd\u3092\u3064\u304f\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre>&lt;html&gt;\r\n&lt;head&gt;\r\n    &lt;link rel=\"stylesheet\" href=\"https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.3.1\/css\/bootstrap.min.css\"&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    &lt;div id=\"app\" class=\"container pt-3\"&gt;\r\n        &lt;div class=\"row\"&gt;\r\n            &lt;div class=\"col-6\"&gt;\r\n                &lt;h1&gt;\u30d1\u30b9\u30ef\u30fc\u30c9\u518d\u767a\u884c&lt;\/h1&gt;\r\n                &lt;div class=\"form-group\"&gt;\r\n                    &lt;label&gt;\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&lt;\/label&gt;\r\n                    &lt;input type=\"text\" class=\"form-control\" v-model=\"email\"&gt;\r\n                &lt;\/div&gt;\r\n                &lt;button type=\"button\" class=\"btn btn-primary\" @click=\"send\"&gt;\u9001\u4fe1\u3059\u308b&lt;\/button&gt;\r\n            &lt;\/div&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;script src=\"https:\/\/www.gstatic.com\/firebasejs\/7.12.0\/firebase-app.js\"&gt;&lt;\/script&gt;\r\n    &lt;script src=\"https:\/\/www.gstatic.com\/firebasejs\/7.12.0\/firebase-auth.js\"&gt;&lt;\/script&gt;\r\n    &lt;script src=\"https:\/\/cdn.jsdelivr.net\/npm\/vue\/dist\/vue.min.js\"&gt;&lt;\/script&gt;\r\n    &lt;script&gt;\r\n\r\n        new Vue({\r\n            el: '#app',\r\n            data: {\r\n                email: ''\r\n            },\r\n            methods: {\r\n                <strong>send() {<\/strong>\r\n\r\n<strong>                    firebase.auth().languageCode = 'ja'; \/\/ \u65e5\u672c\u8a9e\u306b\u8a2d\u5b9a<\/strong>\r\n<strong>                    firebase.auth()<\/strong>\r\n<strong>                        .sendPasswordResetEmail(this.email)<\/strong>\r\n<strong>                        .then(() =&gt; {<\/strong>\r\n\r\n<strong>                            alert('\u30d1\u30b9\u30ef\u30fc\u30c9\u518d\u767a\u884cURL\u3092\u9001\u4fe1\u3057\u307e\u3057\u305f\u3002');<\/strong>\r\n\r\n<strong>                        }).catch(error =&gt; {<\/strong>\r\n\r\n<strong>                            alert('\u8a72\u5f53\u3059\u308b\u30c7\u30fc\u30bf\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002');<\/strong>\r\n\r\n<strong>                        });<\/strong>\r\n\r\n<strong>                }<\/strong>\r\n            },\r\n            mounted() {\r\n\r\n                \/\/ firebase\u3092\u6e96\u5099\r\n                const firebaseConfig = {\r\n                    apiKey: \"<strong>**********************************<\/strong>\",\r\n                    authDomain: \"<strong>**********************************<\/strong>\",\r\n                    databaseURL: \"<strong>**********************************<\/strong>\",\r\n                    projectId: \"<strong>**********************************<\/strong>\",\r\n                    storageBucket: \"<strong>**********************************<\/strong>\",\r\n                    messagingSenderId: \"<strong>**********************************<\/strong>\",\r\n                    appId: \"<strong>**********************************<\/strong>\"\r\n                };\r\n                firebase.initializeApp(firebaseConfig);\r\n\r\n            }\r\n        });\r\n\r\n    &lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u30b3\u30fc\u30c9\u7684\u306b\u306f\u30dc\u30bf\u30f3\u304c\u62bc\u3055\u308c\u305f\u3089<code>sendPasswordResetEmail()<\/code>\u304c\u5b9f\u884c\u3055\u308c\u308b\u30b7\u30f3\u30d7\u30eb\u306a\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u308b\u3068<code>Firebase<\/code>\u306e\u65b9\u304b\u3089\u6b21\u306e\u3088\u3046\u306a\u518d\u767a\u884c\u30e1\u30fc\u30eb\u304c\u5c4a\u304d\u307e\u3059\u306e\u3067\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u306fURL\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6298\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_13.png\" alt=\"\" width=\"742\" height=\"208\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_13.png 742w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_13-300x84.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/p>\n<p>\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d5\u30a9\u30fc\u30e0\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u9001\u4fe1\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6297\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_14.png\" alt=\"\" width=\"354\" height=\"291\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_14.png 354w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_14-300x247.png 300w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/p>\n<p><code>Firebase<\/code>\u304c\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6296\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_15.png\" alt=\"\" width=\"351\" height=\"149\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_15.png 351w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2020\/03\/serverless_auth_15-300x127.png 300w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/p>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u4eca\u56de\u306f\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u306a\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u500b\u4eba\u7684\u306b\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u306f\u521d\u3081\u3066\u306e\u7d4c\u9a13\u3067\u3057\u305f\u304c\u3001HTML\u30d5\u30a1\u30a4\u30eb\u3055\u3048\u3042\u308c\u3070\u5b9f\u884c\u3067\u304d\u308b\u306e\u306f\u5927\u304d\u306a\u30e1\u30ea\u30c3\u30c8\u3067\u3059\uff01<\/p>\n<p>\uff08\u30fb\u30fb\u30fb\u3068\u3044\u3046\u3053\u3068\u306f\u3001<code>Electron<\/code>\u3067\u3082\u4f7f\u3044\u3084\u3059\u3044\u3067\u3059\u306d\uff09<\/p>\n<p>\u9006\u306b\u30c7\u30e1\u30ea\u30c3\u30c8\u306b\u611f\u3058\u305f\u306e\u306f\u3001\u4f55\u3092\u3059\u308b\u306b\u3082<code>Firebase<\/code>\u306e\u6c7a\u3081\u305f\u30eb\u30fc\u30eb\u3092\u4f7f\u308f\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u304c\u3001\u3053\u306e\u4f1a\u793e\u3092\u6240\u6709\u3057\u3066\u3044\u308b<code>Google<\/code>\u306f\u983b\u7e41\u306b\u5185\u5bb9\u3092\u5909\u66f4\u3057\u307e\u3059\u3057\u3001\u3072\u3069\u3044\u3068\u304d\u306f\u30b5\u30fc\u30d3\u30b9\u3092\u6025\u306b\u7d42\u4e86\u3059\u308b\u306e\u3067\u3001\u9577\u671f\u5c55\u671b\u3068\u3057\u3066\u306f\u5c11\u3057\u4e0d\u5b89\u3067\u306f\u3042\u308a\u307e\u3059\u3088\u306d\ud83d\ude05<\/p>\n<p>\u3068\u306f\u3044\u3048\u3001\u6280\u8853\u7684\u306b\u306f\u3068\u3066\u3082\u9b45\u529b\u7684\u306a\u306e\u3067\u8208\u5473\u3092\u6301\u305f\u308c\u305f\u65b9\u306f\u305c\u3072\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002\uff08\u306a\u3093\u306a\u3089\u5c02\u7528\u306e\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u30fb\u30b5\u30a4\u30c8\u3092\u4f5c\u3063\u3066\u304a\u3044\u3066\u3082\u9762\u767d\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff09<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4445 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/no_2.png\" alt=\"\" width=\"370\" height=\"310\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/no_2.png 370w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/no_2-300x251.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u79c1\u306f\u65b0\u3057\u3044\u60c5\u5831\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u30cb\u30e5\u30fc\u30b9\u3084\u30d6\u30ed\u30b0\u3060\u3051\u3067\u306a\u304f\u3001\u6d77\u5916\u306e\u63b2\u793a\u677f\u3082\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3088\u3046\u5fc3\u639b\u3051\u3066\u3044\u307e\u3059\u3002 \u305d\u3057\u3066\u3001\u305d\u3093\u306a\u4e2d\u3067\u305f\u3073\u305f\u3073\u767b\u5834\u3059\u308b\u3042\u308b\u30ad\u30fc &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=6294\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Firebase + Vue\u3067\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u3064\u304f\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":6320,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[207,206],"class_list":["post-6294","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","tag-firebase","tag-206"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/6294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6294"}],"version-history":[{"count":11,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/6294\/revisions"}],"predecessor-version":[{"id":6326,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/6294\/revisions\/6326"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/6320"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}