{"id":5690,"date":"2018-07-14T10:48:43","date_gmt":"2018-07-14T01:48:43","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=5690"},"modified":"2023-05-27T21:41:14","modified_gmt":"2023-05-27T12:41:14","slug":"%e3%80%90nuxt-js%e3%80%91%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e6%a7%8b%e6%88%90","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=5690","title":{"rendered":"\u3010Nuxt.js\u3011\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210\uff08nuxt.config.js\u3001middreware\u3001plugin\u3001page\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306a\u3069\uff09"},"content":{"rendered":"<h2>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210\u4e00\u89a7<\/h2>\n<table>\n<tbody>\n<tr>\n<th>\u69cb\u6210\u8981\u7d20<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>.nuxt<\/td>\n<td>\u30b3\u30de\u30f3\u30c9\u3067\u306e\u30d3\u30eb\u30c9\u7d50\u679c\u306f\u3053\u3053\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u3000\u2514router.js<\/td>\n<td>pages\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u914d\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>store<\/td>\n<td>Vuex\u306e\u30b9\u30c8\u30a2\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002Nuxt.js\u3067\u306f<span style=\"color: #ff0000;\"><strong>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067Vuex\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td>static<\/td>\n<td>\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u306a\u3044\u9759\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002\u4f8b\uff1arobots.txt\u7b49\u3002\u300c\/\uff08\u30eb\u30fc\u30c8\uff09\u300d\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>plugins<\/td>\n<td>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3059\u308b\u524d\u306b\u5b9f\u884c\u3057\u305f\u3044JavaScript\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>pages<\/td>\n<td><span style=\"color: #ff0000;\"><strong>Nuxt.js\u306b\u304a\u3044\u3066\u4e00\u756a\u91cd\u8981\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/strong><\/span>\u306b\u306a\u308a\u307e\u3059\u3002\u300c\u30d3\u30e5\u30fc\u300d\u3068\u300c\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u300d\u306b\u95a2\u3059\u308b\u5f79\u5272\u3092\u62c5\u3044\u307e\u3059\u3002\u300cindex.vue\u300d\u306b\u6700\u521d\u306b\u8868\u793a\u3055\u305b\u308b\u30da\u30fc\u30b8\u306e\uff28\uff34\uff2d\uff2c\u3092\u8a18\u8ff0\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>package.json<\/td>\n<td>Nuxt.js\u3067\u4f7f\u7528\u3059\u308b\u30b3\u30de\u30f3\u30c9\u7b49\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>nuxt.config.js<\/td>\n<td>\u300c\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3078\u306e\u5404\u7a2e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>middleware<\/td>\n<td>\u30da\u30fc\u30b8\u3092\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u524d\u306b\u5b9f\u884c\u3055\u308c\u308b\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u914d\u7f6e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>layouts<\/td>\n<td>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u3000\u2514default.vue<\/td>\n<td>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u2514error.vue<\/td>\n<td>\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>components<\/td>\n<td>\u30d3\u30e5\u30fc\u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<span style=\"color: #ff0000;\"><strong>Nuxt.js\u306e\u5f71\u97ff\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u306a\u304f\u3001Nuxt.js\u304b\u3089\u306f\u81ea\u52d5\u3067\u8aad\u307f\u8fbc\u307e\u308c\u306a\u3044\u306e\u3067\u3001\u30d4\u30e5\u30a2\u306avue\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059\u3002\u4f7f\u7528\u3057\u306a\u3044\u306e\u3067\u3042\u308c\u3070\u524a\u9664\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd<\/strong><\/span>\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>assets<\/td>\n<td>LESS\u3084SCSS\u7b49\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>README.md<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>yarn.lock<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>node_modules<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u300cnuxt.config.js\u300d\u3068\u306f\uff1f<\/h2>\n<p>Nuxt.js\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<h3>\u69cb\u6587<\/h3>\n<p>\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">export default {\r\n  \u30aa\u30d7\u30b7\u30e7\u30f3: \u5024\r\n}<\/pre>\n<h3>\u30aa\u30d7\u30b7\u30e7\u30f3<\/h3>\n<h4>loading<\/h4>\n<p>\u753b\u9762\u9077\u79fb\u6642\u306e\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4e0a\u66f8\u304d\u3067\u304d\u307e\u3059\u3002<\/p>\n<h5>\u4f8b<\/h5>\n<blockquote><p><span class=\"hljs-selector-tag\">export<\/span> <span class=\"hljs-selector-tag\">default<\/span> {<\/p>\n<p><span class=\"hljs-attribute\">oading<\/span>: <span class=\"hljs-string\">'~\/components\/loading.vue'<\/span><\/p>\n<p>}<\/p>\n<p>Nuxt.js\u516c\u5f0f\u30b5\u30a4\u30c8\u3088\u308a<\/p><\/blockquote>\n<h4>css<\/h4>\n<p>\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3082\u5171\u901a\u306ecss\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>router<\/h4>\n<p>Nuxt.js\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306evue-router\u8a2d\u5b9a\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>generate<\/h4>\n<p>\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb\u30a2\u30d7\u30ea\u304b\u3089\u3001\u9759\u7684\u306aHTML\u306b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3055\u305b\u305f\u3044\u5834\u5408\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<h5>routes<\/h5>\n<p>\u9759\u7684\u306a\u5024\u3092\u8fd4\u305b\u307e\u3059\u3002\uff08\u95a2\u6570\u3092\u4f7f\u3048\u3070\u3001\u52d5\u7684\u306a\uff35\uff32\uff2c\u3082\u8fd4\u3059\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u3002\uff09<\/p>\n<h2>plugin\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/h2>\n<p>plugins\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<p>plugins\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e\u3057\u305fJavaScript\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3059\u308b\u524d\u306b\u8aad\u307f\u8fbc\u307e\u308c\u308b\u305f\u3081\u3001\u7279\u306b\u5177\u4f53\u7684\u306b\u5916\u90e8\u8aad\u307f\u8fbc\u307f\u3092\u3057\u306a\u304f\u3066\u3082\u3001<span style=\"color: #ff0000;\"><strong>\u5404\u30da\u30fc\u30b8\u3092\u4f7f\u3046\u969b\u306b\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/strong><\/span><\/p>\n<h3>\u5b9f\u88c5\u4f8b<\/h3>\n<h4>\u30d7\u30e9\u30b0\u30a4\u30f3\u540d.js<\/h4>\n<pre class=\"lang:default decode:true\">import Vue from 'vue';\r\nimport '\u30d7\u30e9\u30b0\u30a4\u30f3\u540d' from '\u30d7\u30e9\u30b0\u30a4\u30f3\u540d';\r\nVue.use('\u30d7\u30e9\u30b0\u30a4\u30f3\u540d');<\/pre>\n<h2>middreware\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/h2>\n<p>middleware\/\u30d5\u30a1\u30a4\u30eb\u540d.js\u3068\u3057\u3066\u914d\u7f6e\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30da\u30fc\u30b8\u3092\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u3088\u308a\u3082\u524d\u306b\u5b9f\u884c\u3055\u308c\u308b\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u914d\u7f6e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>middleware\u3092\u8aad\u307f\u8fbc\u3080\u69cb\u6587<\/h3>\n<pre class=\"lang:default decode:true\">&lt;script&gt;\r\nexport default{\r\nmiddleware: [\"\u8aad\u307f\u8fbc\u3080\u30d5\u30a1\u30a4\u30eb\u540d\"]};(middleware\/\u30d5\u30a1\u30a4\u30eb\u540d.js\u3092\u8aad\u307f\u8fbc\u3080\u3002\uff09\r\n&lt;\/script&gt;<\/pre>\n<h3>middleware\u306e\u7279\u5fb4<\/h3>\n<h4>\u95a2\u6570\u306f\u3001\u300c\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u306a\u308b\u3002<\/h4>\n<p>\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u305f\u95a2\u6570\u306f\u3001\u7b2c\u4e00\u5f15\u6570\u3068\u3057\u3066<span style=\"color: #ff0000;\"><strong>\u300c\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d<\/strong><\/span>\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001<span style=\"color: #ff0000;\"><strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\u306e\u30c7\u30fc\u30bf\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<h4>middleware\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u3067\u5b9f\u884c\u3055\u308c\u308b\u3002<\/h4>\n<p>middleware\u3067\u5ba3\u8a00\u3059\u308bJavaScript\u306f\u3001\u3042\u304f\u307e\u3067\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u3067\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u95a2\u6570\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u300cconsole.log\uff08\uff09\u300d\u7b49\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30fb\u30b5\u30fc\u30d0\u30fc\u95a2\u4fc2\u306a\u3044\u95a2\u6570\u306f\u554f\u984c\u306a\u3044\u3067\u3059\u304c\u3001<span style=\"color: #ff0000;\"><strong>\u300calert\u300d\u306e\u3088\u3046\u306a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u52d5\u304f\u3088\u3046\u306a\u95a2\u6570\u306f\u4f7f\u3048\u306a\u3044<\/strong><\/span>\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>middleware\u306e\u5229\u7528\u4f8b<\/h3>\n<p>\u30da\u30fc\u30b8\u3092\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u524d\u7b49\u306b\u5b9f\u884c\u3055\u308c\u308b\u306e\u3067\u3001<span style=\"color: #ff0000;\"><strong>\u8a8d\u8a3c\u51e6\u7406\u7b49<\/strong><\/span>\u306b\u6d3b\u7528\u3059\u308b\u3068\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>page\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/h2>\n<p>.vue\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u4e00\u3064\u306e\u30da\u30fc\u30b8\u3092\u6307\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u3092<span style=\"color: #ff0000;\"><strong>\u300c\u30da\u30fc\u30b8\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u300d<\/strong><\/span>\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>\u30da\u30fc\u30b8\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3064\u3044\u3066\u306f\u3001\u8a73\u3057\u304f\u306f\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"SdpGPRL9uI\"><p><a href=\"http:\/\/www.code-magagine.com\/?p=5779\">\u3010Nuxt.js\u3011\u300c\u30da\u30fc\u30b8\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u300d\uff08asyncData\u3001fetch\u3001\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3001layout\uff09<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.code-magagine.com\/?p=5779&#038;embed=true#?secret=SdpGPRL9uI\" data-secret=\"SdpGPRL9uI\" width=\"500\" height=\"282\" title=\"&#8220;\u3010Nuxt.js\u3011\u300c\u30da\u30fc\u30b8\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u300d\uff08asyncData\u3001fetch\u3001\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3001layout\uff09&#8221; &#8212; \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30de\u30ac\u30b8\u30f3\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h2>\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u8a2d\u5b9a\uff08.nuxt\/router.js\uff09<\/h2>\n<p>\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u306f\u3001\u8a73\u3057\u304f\u306f\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"O7IfBvsqxv\"><p><a href=\"http:\/\/www.code-magagine.com\/?p=5729\">\u3010Nuxt.js\u3011\u4f5c\u6210\u3057\u305f\u30da\u30fc\u30b8\u306e\u300c\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u300d\u3092\u3055\u305b\u3066\u307f\u308b\u3002<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.code-magagine.com\/?p=5729&#038;embed=true#?secret=O7IfBvsqxv\" data-secret=\"O7IfBvsqxv\" width=\"500\" height=\"282\" title=\"&#8220;\u3010Nuxt.js\u3011\u4f5c\u6210\u3057\u305f\u30da\u30fc\u30b8\u306e\u300c\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u300d\u3092\u3055\u305b\u3066\u307f\u308b\u3002&#8221; &#8212; \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30de\u30ac\u30b8\u30f3\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h2>assets<\/h2>\n<p>LESS\u3084SCSS\u7b49\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u304c\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Webpack\u306b\u3088\u3063\u3066\u30d3\u30eb\u30c9\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u304c\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002\uff08Webpack\u306eLoader\u306e\u51e6\u7406\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\uff09<\/p>\n<p>Nuxt.js\u3067\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u300cfile-loader\u300d\u3001\u300curl-loader\u300d<\/strong><\/span>\u3092\u8aad\u307f\u8fbc\u3080\u306e\u3067\u305d\u308c\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210\u4e00\u89a7 \u69cb\u6210\u8981\u7d20 \u8aac\u660e .nuxt \u30b3\u30de\u30f3\u30c9\u3067\u306e\u30d3\u30eb\u30c9\u7d50\u679c\u306f\u3053\u3053\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002 \u3000\u2514router.js pages\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u914d\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002 store Vuex\u306e [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[61],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/5690"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5690"}],"version-history":[{"count":29,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/5690\/revisions"}],"predecessor-version":[{"id":20385,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/5690\/revisions\/20385"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5690"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}