{"id":5551,"date":"2019-04-05T15:42:55","date_gmt":"2019-04-05T06:42:55","guid":{"rendered":"https:\/\/www.lancard.com\/blog\/?p=5551"},"modified":"2025-03-12T11:25:43","modified_gmt":"2025-03-12T02:25:43","slug":"nuxt-js-%e6%82%a9%e3%81%bf%e8%a7%a3%e6%b1%ba%e3%81%ae%e5%b0%8f%e3%83%8d%e3%82%bf%e9%9b%86","status":"publish","type":"post","link":"https:\/\/www.lancard.com\/blog\/2019\/04\/05\/nuxt-js-%e6%82%a9%e3%81%bf%e8%a7%a3%e6%b1%ba%e3%81%ae%e5%b0%8f%e3%83%8d%e3%82%bf%e9%9b%86\/","title":{"rendered":"Nuxt.js \u60a9\u307f\u89e3\u6c7a\u306e\u5c0f\u30cd\u30bf\u96c6"},"content":{"rendered":"<p>\u3053\u30531\u30f6\u6708\u7a0bNuxt.js + Firebase\u3067SPA\u306e\u30b7\u30b9\u30c6\u30e0\u3092\u4f5c\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u77ed\u671f\u69cb\u7bc9\u304c\u3054\u8981\u671b\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u6027\u304c\u6c42\u3081\u3089\u308c\u308b\u5185\u5bb9\u3002Firebase\u306b\u5411\u3044\u3066\u3044\u308b\u3068\u5224\u65ad\u3001\u63d0\u6848\u3057\u305f\u3068\u3053\u308d\u6280\u8853\u69cb\u6210\u306f\u81ea\u7531\u306b\u3084\u3089\u305b\u3066\u3044\u305f\u3060\u3051\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u5225\u4ef6\u3067\u4e00\u6628\u5e74\u672b\u3042\u305f\u308a\u304b\u3089\u305a\u3063\u3068\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306fLaravel\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306f\u7d20\u306eVue.js + Vuex + Vue Router\u3067\u958b\u767a\u3084\u3063\u3066\u308b\u3093\u3067\u3059\u304c\u3001PWA\u5316\u3057\u305f\u307b\u3046\u304c\u3088\u3055\u305d\u3046\u3060\u3063\u305f\u3053\u3068\u3082\u3042\u3063\u3066Nuxt.js(\u4ee5\u964dNuxt)\u4f7f\u3063\u3066\u307f\u3088\u3046\u304b\u306a\u3063\u3066\u3053\u3068\u3067\u63a1\u7528\u3002<\/p>\n<p>Nuxt\u3001\u4fbf\u5229\u3067\u3059\u306d\u3002\u7279\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u304c\u7d20\u6575\uff01<\/p>\n<p>Firebase(\u4eca\u56de\u4f7f\u7528\u3057\u305f\u306e\u306fAuthentication\u3001Firestore\u3001Hosting\u3001Functions)\u3068\u306e\u76f8\u6027\u3082\u30d0\u30c3\u30c1\u30ea\u3067\u3057\u305f\u3002<\/p>\n<p>\u3067\u3059\u304c\u521d\u3081\u3066\u3068\u3044\u3046\u3053\u3068\u3082\u3042\u308a\u3044\u308d\u3044\u308d\u3068\u60a9\u3093\u3060\u308a\u3082\u3059\u308b\u308f\u3051\u3067\u2026<br \/>\n\u305d\u308c\u3089\u3092\u3069\u3046\u89e3\u6c7a\u3057\u305f\u304b\uff1f\u306e\u5c0f\u30cd\u30bf\u96c6\u3067\u3059(\u3068\u3044\u3046\u304b\u4eca\u56de\u306e\u843d\u3068\u3057\u6240\u3001\u304b\u306a)<\/p>\n<p><!--more--><\/p>\n<h2>cross-env\u3067\u74b0\u5883\u3092\u5207\u308a\u66ff\u3048\u308b<\/h2>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u6271\u3044\u3092\u3069\u3046\u3059\u308b\u304b\uff1f\u3068\u3044\u3046\u60a9\u307f\u3067\u3059\u3002<\/p>\n<p>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306bFirebase\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3053\u3068\u3082\u3042\u308a\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306bapiKey\u7b49\u306e\u8a2d\u5b9a\u3092\u3082\u305f\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u5f53\u7136\u306a\u304c\u3089\u958b\u767a\u7528\u306e\u8a2d\u5b9a\u3068\u672c\u756a\u7528\u306e\u8a2d\u5b9a\u306f\u7570\u306a\u308a\u307e\u3059\u3002<br \/>\n\u958b\u767a\u8005\u306e\u52d8\u3092\u50cd\u304b\u305b\u3066(\u5927\u3052\u3055)env\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8abf\u67fb\u3002\u7d50\u679c\u3001cross-env\u3092\u63a1\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Qiita\u306b\u304d\u3063\u3061\u308a\u307e\u3068\u3081\u3066\u304f\u3060\u3055\u3063\u3066\u3044\u308b\u65b9\u304c\u3044\u3089\u3063\u3057\u3083\u3063\u305f\u306e\u3067\u52a9\u304b\u308a\u307e\u3057\u305f<\/p>\n<p><a href=\"https:\/\/qiita.com\/TakahiRoyte\/items\/c152ad8baa191ed1f8ae\">Nuxt\u3067cross-env\u3092\u4f7f\u3044\u74b0\u5883\u3054\u3068\u306b\u74b0\u5883\u5909\u6570\u3092\u5206\u3051\u308b<\/a><\/p>\n<p>\u4eca\u56de\u306epackege.json\u306escripts\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u958b\u767a\u30fb\u52d5\u4f5c\u78ba\u8a8d\u7528Firebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30c7\u30d7\u30ed\u30a4\u7528\u306ebuild:staging\u3001\u9867\u5ba2\u7df4\u7fd2\u7528\u306ebuild:training\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"json\">  \"scripts\": {\n    \"dev\": \"nuxt\",\n    \"build\": \"nuxt build\",\n    \"build:staging\": \"cross-env NODE_ENV=\\\"staging\\\" nuxt build\",\n    \"build:training\": \"cross-env NODE_ENV=\\\"training\\\" nuxt build\",\n    \"start\": \"nuxt start\",\n    \"generate\": \"nuxt generate\",\n    \"lint\": \"eslint --ext .js,.vue --ignore-path .gitignore .\",\n    \"precommit\": \"npm run lint\"\n  },\n\n<\/code><\/pre>\n<p>Nuxt\u3067\u306f\u901a\u5e38\u306enuxt build\u3092\u884c\u3046\u3068NODE_ENV\u306fproduction\u306b\u306a\u308a\u307e\u3059\u306e\u3067build\u3092\u305d\u306e\u307e\u307e\u672c\u756a\u7528\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u521d\u671f\u5316\u3059\u308b<\/h2>\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u521d\u671f\u5316\u3092\u3069\u3053\u3067\u884c\u3046\u304b\uff1f\u3068\u3044\u3046\u60a9\u307f\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070Firebase\u3092\u5229\u7528\u3059\u308b\u306b\u306fFirebase\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7528\u8a2d\u5b9a\u3067\u306e\u521d\u671f\u5316\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4ed5\u7d44\u307f\u3092\u5229\u7528\u3057\u3066\u521d\u671f\u5316\u3059\u308b\u306e\u304c\u5e38\u9053\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u78ba\u304b\u306b\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0\u7684\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>plugins\/firebase.js<\/p>\n<pre><code class=\"Javascript\">import firebase from 'firebase\/app'\nimport 'firebase\/auth'\nimport 'firebase\/firestore'\n\nif (!firebase.apps.length) {\n  firebase.initializeApp(process.env.firebase)\n}\nexport default firebase\n<\/code><\/pre>\n<p>\u5229\u7528\u5074\u3067\u306f\u521d\u671f\u5316\u3057\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092import\u3057\u3066\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>store\/index.js<\/p>\n<pre><code class=\"Javascript\">import firebase from '~\/plugins\/firebase'\n\nexport const strict = false\n\nconst db = firebase.firestore()\n\/\/ \u4ee5\u4e0b\u7565\n<\/code><\/pre>\n<h2>Vuex\u306e\u53b3\u683c\u30e2\u30fc\u30c9\u3092\u30aa\u30d5\u306b\u3059\u308b<\/h2>\n<p>\u305b\u3063\u304b\u304f\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u53b3\u683c\u30e2\u30fc\u30c9\u3001\u3054\u6307\u5c0e\u3044\u305f\u3060\u304f\u3079\u304d\uff1f\u3068\u3044\u3046\u60a9\u307f\u3067\u3059\u3002<\/p>\n<p>Vuex\u306e\u53b3\u683c\u30e2\u30fc\u30c9\u306f\u4eba\u985e\u306b\u306f\u53b3\u3057\u3059\u304e\u308b\uff01\u3068\u3044\u3046\u306e\u304c\u79c1\u306e\u611f\u60f3\u3067\u3059\u3002<\/p>\n<p>\u524d\u63b2\u306e\u5229\u7528\u5074\u30b3\u30fc\u30c9\u306b\u3042\u308a\u307e\u3059\u304cVuex\u306e\u53b3\u683c\u30e2\u30fc\u30c9\u306f export const strict = false \u3067\u30aa\u30d5\u306b\u3057\u307e\u3057\u305f(\u958b\u767a\u4e2d\u3082)<\/p>\n<p><a href=\"https:\/\/vuex.vuejs.org\/ja\/guide\/strict.html\" rel=\"noopener noreferrer\" target=\"_blank\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306b\u300c\u672c\u756a\u74b0\u5883\u3067\u53b3\u683c\u30e2\u30fc\u30c9\u3092\u6709\u52b9\u306b\u3057\u3066\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093\uff01 \u300d\u3068\u3042\u308b\u3053\u3068\u3067\u3059\u3057\u3001\u6c17\u306b\u3057\u306a\u3044\u3002<\/p>\n<p>\u554f\u984c\u306a\u304f\u958b\u767a\u3067\u304d\u308b\u65b9\u306f\u53b3\u683c\u30e2\u30fc\u30c9\u3092\u6d3b\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u5171\u901a\u51e6\u7406\u3092\u30d7\u30e9\u30b0\u30a4\u30f3\u5316\u3059\u308b<\/h2>\n<p>\u540c\u3058\u51e6\u7406\u3092\u30d0\u30e9\u30d0\u30e9\u66f8\u304f\u306e\u306f\u907f\u3051\u305f\u3044\u3082\u306e\u3002\u3069\u3053\u306b\u307e\u3068\u3081\u308b\u3079\u304d\uff1f\u3068\u3044\u3046\u60a9\u307f\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/ja.nuxtjs.org\/guide\/plugins\/\" rel=\"noopener noreferrer\" target=\"_blank\">\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u306b\u843d\u3061\u7740\u304d\u307e\u3057\u305f\u3002\u3055\u307e\u3056\u307e\u306a\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3082\u53ef\u80fd\u3067\u3059\u3057\u3001\u3044\u308d\u3044\u308d\u306a\u5834\u6240\u3067\u4f7f\u3046\u51e6\u7406\u3092\u3042\u3064\u304b\u3046\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002\u4ed6\u3067\u518d\u5229\u7528\u3059\u308b\u3053\u3068\u306f\u7121\u3044\u3088\u3046\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u72ec\u81ea\u306e\u51e6\u7406\u3082\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>plugins\/forApp.js<\/p>\n<pre><code class=\"Javascript\">import Vue from 'vue'\nimport { cloneDeep } from 'lodash'\nimport firebase from '~\/plugins\/firebase'\n\nconst forApp = {\n  testA: function(a) {\n    return a\n  },\n  testB: function() {\n    return this.testA('b')\n  }\n}\nVue.prototype.$forApp = forApp\nexport default forApp\n<\/code><\/pre>\n<p>\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3068\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3092\u884c\u3048\u3070vue\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u306fthis.$forApp.testA(&#8216;\u3048\u3048\u3058\u3083\u306a\u3044\u304b&#8217;)\u307f\u305f\u3044\u306b\u4f7f\u3048\u307e\u3059\u3057\u3001\u524d\u63b2\u306efirebase.js\u306e\u3088\u3046\u306bimport\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u3093\u306a\u3082\u3093\u304b\u306a\u3002<br \/>\n\u3082\u3063\u3068\u826f\u3044\u65b9\u6cd5\u304c\u3042\u3063\u305f\u3089\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5551&#038;t=Nuxt.js%20%E6%82%A9%E3%81%BF%E8%A7%A3%E6%B1%BA%E3%81%AE%E5%B0%8F%E3%83%8D%E3%82%BF%E9%9B%86&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5551&#038;p&#091;images&#093;&#091;0&#093;=&#038;p&#091;title&#093;=Nuxt.js%20%E6%82%A9%E3%81%BF%E8%A7%A3%E6%B1%BA%E3%81%AE%E5%B0%8F%E3%83%8D%E3%82%BF%E9%9B%86\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"http:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5551&#038;text=Nuxt.js%20%E6%82%A9%E3%81%BF%E8%A7%A3%E6%B1%BA%E3%81%AE%E5%B0%8F%E3%83%8D%E3%82%BF%E9%9B%86\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5551&#038;title=Nuxt.js%20%E6%82%A9%E3%81%BF%E8%A7%A3%E6%B1%BA%E3%81%AE%E5%B0%8F%E3%83%8D%E3%82%BF%E9%9B%86\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-tumblr nolightbox\" data-provider=\"tumblr\" target=\"_blank\" rel=\"nofollow\" title=\"Share on tumblr\" href=\"https:\/\/tumblr.com\/share?s=&#038;v=3&#038;t=Nuxt.js%20%E6%82%A9%E3%81%BF%E8%A7%A3%E6%B1%BA%E3%81%AE%E5%B0%8F%E3%83%8D%E3%82%BF%E9%9B%86&#038;u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5551\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"tumblr\" title=\"Share on tumblr\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/tumblr.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=Nuxt.js%20%E6%82%A9%E3%81%BF%E8%A7%A3%E6%B1%BA%E3%81%AE%E5%B0%8F%E3%83%8D%E3%82%BF%E9%9B%86&#038;body=%E3%82%B7%E3%82%A7%E3%82%A2%E3%81%99%E3%82%8B%EF%BC%9A:%20https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F5551\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>\u3053\u30531\u30f6\u6708\u7a0bNuxt.js + Firebase\u3067SPA\u306e\u30b7\u30b9\u30c6\u30e0\u3092\u4f5c\u3063\u3066\u3044\u307e\u3057\u305f\u3002 \u77ed\u671f\u69cb\u7bc9\u304c\u3054\u8981\u671b\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u6027\u304c\u6c42\u3081\u3089\u308c\u308b\u5185\u5bb9\u3002Firebase\u306b\u5411\u3044\u3066\u3044\u308b\u3068\u5224\u65ad\u3001\u63d0\u6848\u3057\u305f\u3068\u3053\u308d\u6280\u8853\u69cb\u6210\u306f\u81ea\u7531\u306b\u3084\u3089\u305b\u3066\u3044\u305f\u3060\u3051\u308b [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[155],"tags":[190,189],"class_list":["post-5551","post","type-post","status-publish","format-standard","hentry","category-javascript","tag-firebase","tag-nuxt-js"],"_links":{"self":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/5551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/comments?post=5551"}],"version-history":[{"count":10,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/5551\/revisions"}],"predecessor-version":[{"id":5569,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/5551\/revisions\/5569"}],"wp:attachment":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/media?parent=5551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/categories?post=5551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/tags?post=5551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}