{"id":6743,"date":"2022-11-03T01:54:11","date_gmt":"2022-11-02T16:54:11","guid":{"rendered":"https:\/\/suzutukiblog.com\/?p=6743"},"modified":"2022-12-04T10:26:23","modified_gmt":"2022-12-04T01:26:23","slug":"vuerails-3","status":"publish","type":"post","link":"https:\/\/suzutukiblog.com\/index.php\/2022\/11\/03\/vuerails-3\/","title":{"rendered":"Vue\u3068Rails\u3067\u4f5c\u6210\u3057\u305f\u30a2\u30d7\u30ea\u3067\u5f97\u305f\u77e5\u898b\u3068\u5099\u5fd8\u93323(ToDo\u306e\u30d5\u30ed\u30f3\u30c8\u4f5c\u6210)"},"content":{"rendered":"<p><a href=\"https:\/\/suzutukiblog.com\/index.php\/2022\/12\/04\/vuerails-2\/\">\uff12\u304b\u3089\u7d9a\u3044\u3066\u3044\u307e\u3059<\/a><\/p>\n<h2>\u76ee\u6a19\uff1a\u51e6\u7406\u306e\u6d41\u308c\u3092\u5fd8\u308c\u305f\u6642\u306b\u3059\u3050\u306b\u601d\u3044\u51fa\u305b\u308b\u3088\u3046\u306b\u3056\u3063\u304f\u308a\u89e3\u8aac\u3059\u308b\u3002<\/h2>\n<h3>\u3053\u306e\u7ae0\u3067\u76ee\u6307\u3059\u3053\u3068<\/h3>\n<p><strong>\u30fbAddTodo.vue<\/strong>\u3067<strong>\u4f5c\u6210\u30dc\u30bf\u30f3<\/strong>\u3092\u62bc\u3057\u3001<strong>$emit<\/strong>\u3092\u4f7f\u3063\u3066<strong>\u30a4\u30d9\u30f3\u30c8\u540d\u3068\u5171\u306b\u5024\u3092\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3078\u6e21\u3059<\/strong><br \/>\n\u30fb\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e<strong>index.vue<\/strong>\u306f<strong>$emit<\/strong>\u3092\u4f7f\u3063\u3066\u6e21\u3063\u3066\u304d\u305f\u3001\u30a4\u30d9\u30f3\u30c8\u3092\u30c8\u30ea\u30ac\u30fc\u306b\u3001<strong>methods<\/strong>\u3068\u7d10\u3065\u3051\u3066\u3001<strong>\u5024\u3092\u5b50\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u6e21\u3059<\/strong><\/p>\n<p><strong>\u30fb\u5b50\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8TodoList.vue<\/strong>\u3067\u3001<strong>\u6e21\u3055\u308c\u305f\u5024\u3092props<\/strong>\u306b<strong>\u767b\u9332<\/strong>\u3057\u3066\u304a\u304f\u4e8b\u3067<strong>\u52d5\u7684\u306a\u5024<\/strong>\u3068\u3057\u3066\u6271\u3048\u308b\u3088\u3046\u306b\u3059\u308b<\/p>\n<h1 data-v-12015439=\"\">3\u7ae0:ToDo\u6a5f\u80fd\u306e\u30da\u30fc\u30b8\u4f5c\u6210<\/h1>\n<h1>0:Nuxt\u306e\u57fa\u790e\u77e5\u8b58(\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8)<\/h1>\n<h2>Nuxt(Vue.js)\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u306f\uff1f<\/h2>\n<p><strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/strong>\u3068\u306f\u3001<strong>\u518d\u5229\u7528\u53ef\u80fd\u306a\u90e8\u54c1\u7fa4<\/strong>\u3092\u6307\u3059\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<p>Nuxt\uff08Vue.js\uff09\u306b\u304a\u3051\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3001<br \/>\n<strong>\u518d\u5229\u7528\u53ef\u80fd\u306aVue\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u3001\u4e00\u5ea6\u4f5c\u6210\u3059\u308c\u3070\u4ed6\u306e\u5834\u6240\u3067\u81ea\u7531\u306b\u547c\u3073\u51fa\u3059<\/strong>\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"message-container info\">\n<div class=\"text\">\n<p>\u4f8b\u3048\u3070\u300c\u30dc\u30bf\u30f3\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u300d\u3092\u4e00\u5ea6\u4f5c\u6210\u3059\u308c\u3070\u3001<br \/>\n\u3069\u3053\u306e\u30da\u30fc\u30b8\u3067\u3082\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a<br \/>\n\u305d\u308c\u305e\u308c\u306e\u30da\u30fc\u30b8\u3067\u3001\u6bce\u56de\u30dc\u30bf\u30f3\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n<span style=\"font-size: 1rem;\"><strong>Rails\u306b\u3042\u308b\u90e8\u5206\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/strong>\u3068\u3044\u3046\u6a5f\u80fd\u3068\u975e\u5e38\u306b\u4f3c\u3066\u3044\u308b\u306e\u304c\u3053\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3059\u3002<\/span><\/p>\n<\/div>\n<\/div>\n<h3>0.5:v-\u30bf\u30b0\u3068Vuetify\u306b\u3064\u3044\u3066<\/h3>\n<p>.vue\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u306f\u3001<code>&lt;template&gt;<\/code>\u3068\u3044\u3046\u30bf\u30b0\u306e\u4e2d\u3078\u3001<br \/>\n\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u3057\u3066\u8868\u793a\u3057\u305f\u3044\u5185\u5bb9\u3092\u66f8\u304d\u307e\u3059\u3002<br \/>\n<code>&lt;v-form&gt;<\/code>\u3068\u3044\u3046\u30bf\u30b0\u3067\u56f2\u307e\u308c\u305fToDo\u8ffd\u52a0\u306e\u30d5\u30a9\u30fc\u30e0\u304c\u3001<br \/>\n\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u4f8b\u2193<\/h3>\n<pre>&lt;v-text-field <strong>v-model=\"title\"<\/strong> :counter=\"10\" label=\"todo\" required&gt;&lt;\/v-text-field&gt;<\/pre>\n<p><code>v-model=\"title\"<\/code>\u3068\u3059\u308b\u3053\u3068\u3067\u3001<code>&lt;script&gt;<\/code>\u306e<code>data()<\/code>\u306e\u4e2d\u3067\u5ba3\u8a00\u3055\u308c\u3066\u3044\u308btitle\u3068\u30c7\u30fc\u30bf\u3092\u7d10\u3065\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h1>1:AddTodo\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f5c\u6210<\/h1>\n<p><code>front<\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b\u3001<code>components<\/code>\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\nNuxt\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n<code>components<\/code>\u306e\u4e2d\u306b\u3001<strong>AddTodo.vue\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u8868\u793a\u3057\u305f\u3044\u90e8\u5206\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/strong><\/p>\n<h2>front\/components\/AddTodo.vue<\/h2>\n<pre>&lt;template&gt;\r\n &lt;v-form&gt;\r\n  &lt;v-container&gt;\r\n   &lt;v-row&gt;\r\n    &lt;v-col cols=\"12\" md=\"4\"&gt;\r\n     &lt;v-text-field <strong>v-model=\"title\"<\/strong> counter=\"10\" label=\"todo\" required&gt;&lt;\/v-text-field&gt;\r\n   &lt;\/v-col&gt;\r\n    &lt;v-col cols=\"12\" md=\"4\"&gt;\r\n      <strong>&lt;v-btn @click=\"handleSubmit\"&gt;\u4f5c\u6210&lt;\/v-btn&gt;<\/strong>\r\n    &lt;\/v-col&gt;\r\n   &lt;\/v-row&gt;\r\n  &lt;\/v-container&gt;\r\n &lt;\/v-form&gt;\r\n&lt;\/template&gt;\r\n\r\n&lt;script&gt;\r\nexport default {\r\n data() {\r\n  return {\r\n   title: \"\"\r\n  };\r\n},\r\nmethods: {\r\n  handleSubmit() {\r\n   this.title = \"\";\r\n  }\r\n }\r\n};\r\n&lt;\/script&gt;\r\n&lt;style&gt;\r\n&lt;\/style&gt;<\/pre>\n<h1>2:ToDo\u767b\u9332\u306e\u6d41\u308c(\u2191\u306e\u3067\u8aac\u660e)<\/h1>\n<p><code>1:v-model=\"title\"<\/code>\u306f<code>&lt;script&gt;<\/code>\u306e<code>data()<\/code>\u306e\u4e2d\u3067\u5ba3\u8a00\u3055\u308c\u3066\u3044\u308btitle\u306e\u5024\u306f\u7a7a\u306a\u306e\u3067\u3001<br \/>\n\u3053\u306e\u30d5\u30a9\u30fc\u30e0\u306b\u306f\u521d\u671f\u5024\u3068\u3057\u3066\u4f55\u3082\u5165\u308a\u307e\u305b\u3093\u3002<br \/>\n<code>2:&lt;v-btn @click=\"handleSubmit\"&gt;\u4f5c\u6210&lt;\/v-btn&gt;<\/code><br \/>\n<code>@click<\/code>\u3068\u3044\u3046\u8a18\u6cd5\u3092\u4f7f\u3063\u3066\u3001\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u3001<br \/>\n<code>methods<\/code>\u306e\u4e2d\u3067\u5b9a\u7fa9\u3057\u305f\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u5177\u4f53\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u90e8\u5206\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre>methods: {\r\n  handleSubmit() {\r\n  this.title = \"\";\r\n },\r\n},<\/pre>\n<h1>3:ToDo\u30ea\u30b9\u30c8\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f5c\u6210<\/h1>\n<p><strong>TodoList.vue<\/strong>\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002TodoList.vue\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre>&lt;template&gt;\r\n <strong> &lt;v-card&gt;<\/strong>\r\n    &lt;v-card-title&gt;\r\n      Todo\u30ea\u30b9\u30c8\r\n    &lt;v-spacer&gt;&lt;\/v-spacer&gt;\r\n     &lt;v-text-field <strong>v-model=\"search\"<\/strong> label=\"Search\" single-line hide-details&gt;&lt;\/v-text-field&gt;\r\n    &lt;\/v-card-title&gt;\r\n     &lt;v-data-table <strong>:headers=\"headers\"<\/strong> :items=\"todos\" :search=\"search\"&gt;&lt;\/v-data-table&gt;\r\n <strong>&lt;\/v-card&gt;<\/strong>\r\n&lt;\/template&gt;\r\n\r\n&lt;script&gt;\r\nexport default {\r\n data() {\r\n  return {\r\n  todos: [\r\n{\r\ntitle: \"test\",\r\nusername: \"suzutuki\"\r\n}\r\n],\r\nsearch: \"\",\r\nheaders: [\r\n{\r\n  text: \"\u30bf\u30a4\u30c8\u30eb\",\r\n  align: \"left\",\r\n  sortable: false,\r\n  value: \"title\"\r\n},\r\n { text: \"\u30e6\u30fc\u30b6\u30fc\u540d\", \r\n value: \"username\"\r\n}\r\n]\r\n};\r\n}\r\n};\r\n&lt;\/script&gt;\r\n\r\n&lt;style&gt;\r\n&lt;\/style&gt;<\/pre>\n<p><strong><code>&lt;v-card&gt;<\/code><\/strong>\u306e\u4e2d\u306bToDo\u30ea\u30b9\u30c8\u306e<strong>\u30bf\u30a4\u30c8\u30eb<\/strong>\u3084<strong>\u30c6\u30fc\u30d6\u30eb<\/strong>\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>&lt;v-text-field <strong>v-model=\"search\"<\/strong> label=\"Search\" single-line hide-details&gt;&lt;\/v-text-field&gt;<\/pre>\n<p><strong>v-model<\/strong>\u3067\u6e21\u3057\u3066\u3044\u308b\u5024\u306f\u691c\u7d22\u30d0\u30fc\u306b\u5165\u3063\u3066\u3044\u308b\u521d\u671f\u5024\u3067\u3059\u3002<\/p>\n<h1>a:\u30b3\u30ed\u30f3\u8a18\u6cd5(v-bind\u306e\u7701\u7565)<\/h1>\n<p>\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306b:(\u30b3\u30ed\u30f3)\u304c\u305f\u304f\u3055\u3093\u3064\u3044\u3066\u3044\u307e\u3059\u3002<br \/>\n<strong>Vue\u306ev-bind<\/strong>\u306e\u7701\u7565\u8a18\u6cd5\u3067\u3001Vue\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e<strong>\u5909\u6570\u306e\u5024\u3068HTML\u3092\u7d50\u3073\u3064\u3051\u308b<\/strong>\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<strong>:headers<\/strong>\u3068\u3044\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306fvue\u306e<strong>headers<\/strong>\u3068\u3044\u3046\u5909\u6570\u306e\u5024\u304c\u5f53\u3066\u3089\u308c\u3066\u3044\u307e\u3059\u304c\u3001<br \/>\n\u3053\u306e\u30b3\u30ed\u30f3\u3092\u6d88\u3057\u3066\u3057\u307e\u3046\u3068\u30a8\u30e9\u30fc\u304c\u8d77\u3053\u308a\u307e\u3059\u3002<br \/>\nvue\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6e21\u3055\u308c\u308b\u306f\u305a\u306e\u5834\u6240\u306b\u3001&#8221;headers&#8221;\u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u6e21\u3055\u308c\u3066\u3057\u307e\u3046\u305f\u3081\u3067\u3059\u3002\u30c7\u30fc\u30bf\u3092\u6e21\u3057\u305f\u3044\u306e\u306b\u3001&#8221;headers&#8221;\u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u6e21\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p><strong>front\/components\/TodoList.vue<\/strong><\/p>\n<pre>headers: [\r\n{\r\n text: \"\u30bf\u30a4\u30c8\u30eb\",\r\n align: \"left\",\r\n value: \"title\"\r\n},\r\n{ \r\n text: \"\u30e6\u30fc\u30b6\u30fc\u540d\", \r\n value: \"username\" \r\n}\r\n]<\/pre>\n<h2>4-1:\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3064\u3044\u3066(headers)<\/h2>\n<p>\u30c6\u30fc\u30d6\u30eb\u306e\u30d8\u30c3\u30c0\u30fc\u3068\u306a\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>front\/components\/TodoList.vue<\/h2>\n<pre>headers: [\r\n{\r\n<strong>text:<\/strong> \"\u30bf\u30a4\u30c8\u30eb\",  \/\/ \u5148\u982d\u306e\u30d8\u30c3\u30c0\u30fc\u306e\u5185\u5bb9\r\n<strong>align:<\/strong> \"left\",   \/\/ \u30c6\u30fc\u30d6\u30eb\u306b\u5bfe\u3057\u3066\u6587\u5b57\u3092\u5de6\u5bc4\u305b\r\n<strong>value:<\/strong> \"title\"   \/\/ \u3069\u306e\u5024\u3092\u305d\u306e\u5217\u306b\u8868\u793a\u3055\u305b\u308b\u304b\r\n},\r\n{ text: \"\u30e6\u30fc\u30b6\u30fc\u540d\",\r\nvalue: \"username\"\r\n}\r\n]<\/pre>\n<p><strong>text<\/strong>\u306b\u306f\u5b9f\u969b\u306b\u30d8\u30c3\u30c0\u30fc\u306e\u90e8\u5206\u306b\u51fa\u529b\u3055\u305b\u308b\u6587\u5b57\u304c\u5165\u308a<strong>align<\/strong>\u306f\u6587\u5b57\u306e\u8a70\u3081\u65b9\u3092\u6307\u5b9a\u3001<br \/>\n<strong>value<\/strong>\u306f\u3001items\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u6e21\u3055\u308c\u308b<strong>\u540d\u524d\u3068\u540c\u69d8\u306e\u5024<\/strong>\u304c\u5165\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b\u3053\u3053\u3092\u9593\u9055\u3048\u308b\u3068\u3001\u5024\u304c\u8868\u793a\u3055\u308c\u307e\u305b\u3093(\u30a8\u30e9\u30fc\u304c\u8d77\u3053\u3063\u3066\u3044\u308b\u3088\u3046\u306b\u306f\u898b\u3048\u306a\u3044\u306e\u3067\u6ce8\u610f)\u3002<\/p>\n<p>items\u3068\u3057\u3066\u4ee5\u4e0b\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6e21\u3055\u308c\u3066\u304d\u307e\u3059\u3002<\/p>\n<h2>front\/components\/TodoList.vue<\/h2>\n<pre>todos: [\r\n{\r\n  title: \"test\",\r\n  username: \"suzutuki\"\r\n}\r\n],<\/pre>\n<p><strong>title<\/strong>\u3068<strong>username<\/strong>\u3068\u3044\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><strong>title<\/strong>\u306f<strong>headers<\/strong>\u306e<strong>value\u304ctitle\u306e\u5217<\/strong>\u306b\u3001<br \/>\n<strong>username<\/strong>\u306f<strong>headers\u306evalue\u304cusername\u306e\u5217<\/strong>\u3078\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>4-2:\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3064\u3044\u3066(items)<\/h2>\n<p>\u5b9f\u969b\u306b\u30c6\u30fc\u30d6\u30eb\u3078\u8868\u793a\u3055\u305b\u308b\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u3053\u306e\u6642\u3001\u8868\u793a\u3055\u305b\u305f\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u3092\u3001<strong>headers<\/strong>\u306e<strong>value<\/strong>\u3068\u63c3\u3048\u306a\u3044\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff01<\/p>\n<h2>4-3:\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3064\u3044\u3066(search)<\/h2>\n<p>\u8868\u793a\u3055\u308c\u3066\u3044\u308b<strong>ToDo(items)<\/strong>\u3092\u30d5\u30a3\u30eb\u30bf\u30fc\u3059\u308b\u3068\u304d\u306e\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n<strong>v-bind<\/strong>\u3055\u308c\u3066<strong>search<\/strong>\u3068\u3044\u3046\u5024\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n<strong>\u3053\u308c\u306f&lt;v-text-field&gt;<\/strong>\u3067\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u5024\u3067\u3059\u3002<\/p>\n<h2>front\/components\/TodoList.vue<\/h2>\n<pre>&lt;v-text-field <strong>v-model=\"search\"<\/strong> label=\"Search\" single-line hide-details&gt;&lt;\/v-text-field&gt;<\/pre>\n<p><strong>v-model<\/strong>\u3067<strong>search<\/strong>\u3068\u3044\u3046\u5024\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u5165\u529b\u3057\u305f\u5024\u304c\u3001<strong>search<\/strong>\u3068\u3044\u3046\u5024\u306b\u5165\u308a<br \/>\n\u305d\u308c\u304c\u305d\u306e\u307e\u307e<strong>&lt;v-text-table&gt;<\/strong>\u306e<strong>search\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024<\/strong>\u3068\u3057\u3066\u5229\u7528\u3055\u308c\u308b\u8a33\u3067\u3059\u3002<\/p>\n<p><strong>&lt;v-text-field&gt;<\/strong>\u306b\u5165\u308c\u305f\u5024\u3067\u3001<strong>&lt;v-text-table&gt;<\/strong>\u306eToDo\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3067\u304d\u308b\u3068\u3044\u3046\u8a33\u3067\u3059\u3002<\/p>\n<h2>5:\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u8868\u793a\u3055\u305b\u308b\u30da\u30fc\u30b8\u306e\u4f5c\u6210<\/h2>\n<h2>index.vue\u306e\u4f5c\u6210<\/h2>\n<p>\u30da\u30fc\u30b8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><strong>front\/pages<\/strong>\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u898b\u3064\u304b\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d3\u30e5\u30fc\u304a\u3088\u3073\u3001\u30eb\u30fc\u30c8\u304c\u683c\u7d0d\u3055\u308c\u308b\u5834\u6240\u3067\u3059\u3002<br \/>\n<strong>Nuxt<\/strong>\u306f\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u3059\u3079\u3066\u306e <strong>.vue<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001<br \/>\n\u30eb\u30fc\u30bf\u30fc\u306e\u8a2d\u5b9a\u3092\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3066\u3066\u3044\u308b\u72b6\u614b\u3067<a href=\"http:\/\/localhost:3000\/\"><strong>http:\/\/localhost:3000\/<\/strong><\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068<strong>index.vue<\/strong>\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306fNuxt\u3067\u5143\u3005\u306e\u8a2d\u5b9a\u3067\u3001\u30eb\u30fc\u30c8\u30da\u30fc\u30b8\u306b\u5f53\u305f\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<h2>front\/pages\/index.vue\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/h2>\n<pre>&lt;template&gt;\r\n &lt;div&gt;\r\n  &lt;AddTodo @submit=\"addTodo\" \/&gt;\r\n  &lt;TodoList :todos=\"todos\" \/&gt;\r\n &lt;\/div&gt;\r\n&lt;\/template&gt;\r\n\r\n<strong>&lt;script&gt;<\/strong>\r\nimport AddTodo from \"@\/components\/AddTodo\";\r\nimport TodoList from \"@\/components\/TodoList\";\r\n\r\nexport default {\r\n components: {\r\n AddTodo,\r\n TodoList,\r\n},\r\n data() {\r\n  return {\r\n  todos: [],\r\n};\r\n},\r\nmethods: {\r\n  addTodo(title) {\r\n   this.todos.push({\r\n    title\r\n  });\r\n },\r\n},\r\n};\r\n<strong>&lt;\/script&gt;<\/strong>\r\n&lt;style&gt;\r\n&lt;\/style&gt;<\/pre>\n<h2>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u767b\u9332<\/h2>\n<p><strong>&lt;script&gt;<\/strong>\u306e\u4e2d\u3067<strong>import<\/strong>\u3057\u3001<strong>import<\/strong>\u3057\u305f<strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/strong>\u3092<br \/>\n<strong>export<\/strong>\u306e\u4e2d\u3067<strong>components<\/strong>\u306b\u767b\u9332\u3057\u307e\u3059\u3002<br \/>\n\u3053\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001<strong>&lt;template&gt;<\/strong>\u306e\u4e2d\u3067\u4f5c\u6210\u3057\u305f<strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/strong>\u3092<br \/>\nHTML\u30bf\u30b0\u306e\u3088\u3046\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>@<\/strong>\u306f<strong>\u30a8\u30a4\u30ea\u30a2\u30b9<\/strong>\u3068\u8a00\u3063\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c8\u30c3\u30d7\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u305b\u308b\u3001<strong>Nuxt<\/strong>\u3067\u4f7f\u3048\u308b\u4fbf\u5229\u306a\u8a18\u53f7<br \/>\n<strong>components<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u3067\u4f5c\u6210\u3057\u305f<strong>AddTodo.vue\u3068TodoList.vue\u3092import<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30bf\u30b0\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059<\/p>\n<h2>front\/pages\/index.vue<\/h2>\n<pre>&lt;template&gt;\r\n &lt;div&gt;\r\n  &lt;AddTodo @submit=\"addTodo\" \/&gt;\r\n  &lt;TodoList :todos=\"todos\" \/&gt;\r\n &lt;\/div&gt;\r\n&lt;\/template&gt;<\/pre>\n<p>\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3061\u4e0a\u3052\u3066\u8868\u793a\u304c\u304a\u304b\u3057\u304f\u306a\u3044\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre>cd front\r\nnpm run dev<\/pre>\n<p><a href=\"http:\/\/localhost:3000\/\">http:\/\/localhost:3000\/<\/a><\/p>\n<p>\u305d\u306e4\u306b\u7d9a\u304d\u307e\u3059\u3002<\/p>\n<h1 data-v-12015439=\"\">6:ToDo\u767b\u9332\u304b\u3089\u8868\u793a\u307e\u3067\u306e\u5b9f\u88c5<\/h1>\n<h2>ToDo\u306e\u8ffd\u52a0\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u4f5c\u6210\u3057\u305fToDo\u3092\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u4f1d\u9054\u3057\u3066ToDo\u30ea\u30b9\u30c8\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u8868\u793a<\/h2>\n<p><strong>index.vue<\/strong>\u3092\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u547c\u3073\u307e\u3059\u3002<br \/>\n<strong>&lt;AddTodo&gt;<\/strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u3001<strong>&lt;TodoList&gt;<\/strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u3001<br \/>\n<strong>index.vue<\/strong>\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067\u3059\u3002<br \/>\n\u30da\u30fc\u30b8\u306e\u4e2d\u3067\u3001\u3055\u3089\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u89aa\u306b\u5f53\u305f\u308b\u306e\u3067\u3059\u3002<\/p>\n<h2>AddTodo.vue\u304b\u3089\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u767b\u9332\u3057\u305f\u3044\u30c7\u30fc\u30bf\u3092\u6e21\u3059<\/h2>\n<h2>AddTodo.vue<\/h2>\n<pre>this.$emit(<strong>\"submit\", this.title<\/strong>); \/\/ \u3053\u306e\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/pre>\n<p>\u2191\u30a4\u30d9\u30f3\u30c8\u3092\u30c8\u30ea\u30ac\u30fc\u3057\u305f\u3044\u3068\u304d\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u5f15\u6570\u30922\u3064\u3068\u3063\u3066\u304a\u308a\u3001\u7b2c\u4e00\u5f15\u6570\u306e<strong>submit<\/strong>\u304c<strong>\u30a4\u30d9\u30f3\u30c8\u540d<\/strong>\u3001\u7b2c\u4e8c\u5f15\u6570\u306e<strong>this.title\u304c\u30a4\u30d9\u30f3\u30c8<\/strong>\u3068\u3057\u3066\u6e21\u3055\u308c\u308b\u5024\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<strong>submit<\/strong>\u3068\u3044\u3046\u30a4\u30d9\u30f3\u30c8\u540d\u304c\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3042\u308b<strong>index.vue<\/strong>\u306b\u6e21\u3055\u308c\u307e\u3059\u3002<br \/>\n\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5074\u3067\u300csubmit\u3068\u8a00\u3046\u30a4\u30d9\u30f3\u30c8\u304c\u8d77\u3053\u3063\u305f\u3089\u3053\u306e\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u300d\u3068\u8a00\u3046\u51e6\u7406\u3092\u66f8\u3044\u3066\u304a\u3051\u3070\u3001\u30c8\u30ea\u30ac\u30fc\u306b\u306a\u3063\u3066\u304f\u308c\u308b\u3068\u8a00\u3046\u8a33\u3067\u3059\u3002<\/p>\n<h2>7:ToDo\u306e\u60c5\u5831\u3092\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u53d7\u3051\u53d6\u3063\u3066\u3001TodoList.vue\u306b\u6e21\u3059<\/h2>\n<h2>index.vue<\/h2>\n<pre>&lt;template&gt;\r\n &lt;div&gt;\r\n  &lt;!-- div\u306e\u90e8\u5206 --&gt;\r\n <strong> &lt;AddTodo @submit=\"addTodo\" \/&gt; \r\n  &lt;TodoList :todos=\"todos\" \/&gt; <\/strong>\r\n &lt;\/div&gt;\r\n&lt;\/template&gt;<\/pre>\n<h2><strong>@submit=&#8221;addTodo&#8221;<\/strong>\u306b\u3064\u3044\u3066<\/h2>\n<p><strong>v-on:@submit=&#8221;addTodo&#8221;<\/strong>\u306e\u7701\u7565\u5f62\u3067\u3059\u3002<br \/>\n<strong>AddTodo.vue<\/strong>\u304b\u3089<strong>submit<\/strong>\u3068\u3044\u3046\u30a4\u30d9\u30f3\u30c8\u304c\u6765\u305f\u3089\u3001<strong>methods<\/strong>\u306b\u767b\u9332\u3057\u305f<strong>addTodo(title)<\/strong>\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u30ea\u30b9\u30ca\u30fc<\/strong>\u3068\u547c\u3070\u308c\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30ea\u30b9\u30ca\u30fc\u306f\u3001<strong>AddTodo.vue<\/strong>\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u3001<br \/>\n<strong>AddTodo.vue\u306e\u30a4\u30d9\u30f3\u30c8<\/strong>\u3092\u62fe\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p><strong>addTodo(title)\u306e\u5f15\u6570<\/strong>\u306b\u306f\u81ea\u52d5\u7684\u306b<strong>AddTodo.vue<\/strong>\u3067\u6e21\u3057\u305f<strong>this.title<\/strong>\u304c\u5f15\u6570\u3068\u3057\u3066\u6e21\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30ea\u30b9\u30ca\u30fc\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306b\u6e21\u3055\u308c\u308b\u3068\u3044\u3046\u306e\u306f\u3053\u308c\u3089\u4e00\u9023\u306e\u6d41\u308c\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\n<strong>$emit<\/strong>\u3092\u4f7f\u3046\u3060\u3051\u3067\u3001<strong>\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/strong>\u3078\u3001<strong>\u30a4\u30d9\u30f3\u30c8\u3068\u30b3\u30fc\u30eb\u30d0\u30c3\u30af<\/strong>\u3067\u547c\u3070\u308c\u308b<br \/>\n<strong>\u30e1\u30bd\u30c3\u30c9\u306b\u5f15\u6570\u3092\u6e21\u3059<\/strong>\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u4e00\u9023\u306e\u52d5\u4f5c\u306b\u3088\u308a\u3001\u2193\u306e\u51e6\u7406\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>front\/pages\/index.vue<\/h2>\n<pre><strong>this.todos.push({<\/strong>\r\n<strong>  title<\/strong>\r\n<strong>});<\/strong><\/pre>\n<p><strong>data()<\/strong>\u3067\u5ba3\u8a00\u3055\u308c\u3066\u3044\u308b<strong>todos<\/strong>\u3068\u3044\u3046<strong>\u914d\u5217<\/strong>\u306e\u4e2d\u306b\u3001<strong>AddTodo.vue<\/strong>\u3067<strong>\u767b\u9332<\/strong>\u3057\u3088\u3046\u3068\u3057\u305fToDo\u306e<br \/>\n<strong>\u30bf\u30a4\u30c8\u30eb<\/strong>\u304c\u5165\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u305d\u306e<strong>todos<\/strong>\u3068\u3044\u3046\u5024\u3092<strong>:todos=&#8221;todos&#8221;<\/strong>\u306e\u90e8\u5206\u3067\u3001<strong>TodoList.vue<\/strong>\u306b<strong>\u6e21\u3057\u3066\u3044\u307e\u3059<\/strong>\u3002<br \/>\n<strong>=\u306e\u53f3\u5074\u306etodos<\/strong>\u304c\u3001\u4eca\u56de\u6e21\u3057\u3066\u3044\u308b\u5024\u3067\u3001<strong>\u5de6\u5074\u306e:todos\u306f\u3001TodoList.vue\u3067\u4f7f\u3063\u3066\u3044\u308b<\/strong>\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>8:TodoList.vue\u5185\u3067\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304b\u3089\u53d7\u3051\u53d6\u3063\u305fTODO\u3092\u8868\u793a\u3055\u305b\u308b<\/h2>\n<h2>front\/components\/TodoList.vue\u306escript\u306e\u90e8\u5206\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/h2>\n<pre>&lt;script&gt;\r\nexport default {\r\n <strong>props: [\"todos\"]<\/strong>,\r\n data() {\r\n  return {\r\n  search: \"\",\r\n\/\/ \u4e2d\u7565<\/pre>\n<p><strong>props: [&#8220;todos&#8221;]<\/strong>\u3068\u3044\u3046\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u3001<strong>todos<\/strong>\u3068\u3044\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u3092<strong>\u524a\u9664<\/strong>\u3057\u307e\u3057\u305f\u3002<br \/>\n<strong>props<\/strong>\u3068\u8a00\u3046\u306e\u306f\u3001\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304b\u3089\u5b50\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5024\u3092\u6e21\u3059\u6642\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<strong>index.vue\u3067\u306f:todos=&#8221;todos&#8221;<\/strong>\u306e\u90e8\u5206\u3067\u3001<br \/>\n<strong>todos<\/strong>\u3068\u3044\u3046\u30c7\u30fc\u30bf\u3092<strong>TodoList.vue<\/strong>\u306b\u6e21\u3057\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e<strong>\u5de6\u5074\u306e:todos<\/strong>\u306b\u5f53\u305f\u308b\u90e8\u5206\u304c\u3001props\u306b\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u89aa\u304b\u3089\u6e21\u3057\u3066\u304d\u305f\u5024\u3092\u7d10\u3065\u3051\u308b\u3053\u3068\u3067\u52d5\u7684\u306b<strong>props<\/strong>\u306b\u767b\u9332\u3057\u305f\u5024\u3092\u66f8\u304d\u63db\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u89aa\u304c<strong>todos<\/strong>\u3092\u66f4\u65b0\u3059\u308b\u3068\u3001<strong>:todos\u3068props\u306btodos\u304c\u767b\u9332\u3057\u3066\u3042\u308b<\/strong>\u3053\u3068\u306b\u3088\u3063\u3066\u3001<br \/>\n<strong>&lt;v-data-table&gt;\u306e:items=&#8221;todos&#8221;<\/strong>\u306e\u90e8\u5206\u306b\u3066\u3001\u30c6\u30fc\u30d6\u30eb\u306eToDo\u304c\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u3066\u3001\u30c8\u30c3\u30d7\u753b\u9762\u3067ToDo\u306e\u5024\u3092\u5165\u308c\u3001\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066<br \/>\n\u767b\u9332\u3067\u304d\u3066\u3044\u305f\u3089OK\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/suzutukiblog.com\/index.php\/2022\/12\/04\/vuerails-4\/\">\u305d\u306e4\u306b\u7d9a\u304d\u307e\u3059<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uff12\u304b\u3089\u7d9a\u3044\u3066\u3044\u307e\u3059 \u76ee\u6a19\uff1a\u51e6\u7406\u306e\u6d41\u308c\u3092\u5fd8\u308c\u305f\u6642\u306b\u3059\u3050\u306b\u601d\u3044\u51fa\u305b\u308b\u3088\u3046\u306b\u3056\u3063\u304f\u308a\u89e3\u8aac\u3059\u308b\u3002 \u3053\u306e\u7ae0\u3067\u76ee\u6307\u3059\u3053\u3068 \u30fbAddTodo.vue\u3067\u4f5c\u6210\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3001$emit\u3092\u4f7f\u3063\u3066\u30a4\u30d9\u30f3\u30c8\u540d\u3068\u5171\u306b\u5024\u3092\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3078\u6e21\u3059 \u30fb\u89aa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[27],"tags":[],"class_list":["post-6743","post","type-post","status-publish","format-standard","hentry","category-programming-note"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/6743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=6743"}],"version-history":[{"count":12,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/6743\/revisions"}],"predecessor-version":[{"id":6764,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/posts\/6743\/revisions\/6764"}],"wp:attachment":[{"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=6743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=6743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/suzutukiblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=6743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}