{"id":38763,"date":"2022-11-07T20:05:33","date_gmt":"2022-11-07T11:05:33","guid":{"rendered":"https:\/\/kinsta.com\/jp\/?p=38763&#038;post_type=knowledgebase&#038;preview_id=38763"},"modified":"2025-10-02T04:48:09","modified_gmt":"2025-10-01T19:48:09","slug":"inertia-js","status":"publish","type":"post","link":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/","title":{"rendered":"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09"},"content":{"rendered":"<p>Inertia.js\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u3068\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e\u4e21\u65b9\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u7d44\u307f\u5408\u308f\u305b\u305fSPA\uff08\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff09\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u5148\u9032\u7684\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Inertia\u304c\u3044\u304b\u306bSPA\u306e\u69cb\u7bc9\u3092\u5bb9\u6613\u306b\u3057\u3001\u958b\u767a\u8005\u304c\u62b1\u3048\u308b\u4ed6\u306e\u591a\u304f\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3067\u304d\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u30c4\u30fc\u30eb\u306e\u4e3b\u8981\u306a\u6a5f\u80fd\u3082\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u3069\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3059\u308b\u304b\u3001\u3068\u3044\u3046\u57fa\u790e\u304b\u3089\u7406\u89e3\u3092\u6df1\u3081\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3068\u306f<\/h2>\n<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\uff08SSR\uff09\u3068\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u306a\u304f\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u307e\u305f\u306f\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u4ed5\u7d44\u307f\u3092\u6307\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3042\u308b\u4eba\u304c\u300c<strong>example.com<\/strong>\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u305d\u306e\u4eba\u306e\u4f7f\u7528\u3059\u308b\u30d6\u30e9\u30a6\u30b6\u306f\u30b5\u30fc\u30d0\u30fc\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3057\u3001\u3053\u306e\u7279\u5b9a\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u306e\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u306e\u60c5\u5831\u3092\u8981\u6c42\u3057\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306f\u5373\u5ea7\u306b\u3053\u308c\u306b\u5fdc\u7b54\u3057\u3001\u5b8c\u5168\u306b\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30da\u30fc\u30b8\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u9001\u3089\u308c\u305f\u60c5\u5831\u304c\u30d6\u30e9\u30a6\u30b6\u306b\u5230\u9054\u3059\u308b\u524d\u306b\u4ecb\u5165\u3057\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u3001\u3053\u308c\u306b\u5411\u3051\u3066\u6700\u9069\u5316\u3092\u884c\u3046\u3053\u3068\u3092SEO\uff08\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u6700\u9069\u5316\uff09\u3068\u8a00\u3044\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30d6\u30e9\u30a6\u30b6\u304cJavaScript\u306e\u5185\u5bb9\u3092\u89e3\u91c8\u3057\u3001\u6700\u7d42\u7684\u306a\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u304c\u30e6\u30fc\u30b6\u30fc\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133545\" aria-describedby=\"caption-attachment-133545\" style=\"width: 950px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-133545\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/09\/server-side-rendering-diagram.png\" alt=\"\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u6d41\u308c\" width=\"950\" height=\"500\"><figcaption id=\"caption-attachment-133545\" class=\"wp-caption-text\">\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u6d41\u308c<\/figcaption><\/figure>\n<p>SSR\u306e\u554f\u984c\u70b9\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u5b8c\u5168\u306b\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3080\u306e\u306b\u6642\u9593\u304c\u304b\u304b\u308a\u3001\u5feb\u9069\u306a\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u306e\u63d0\u4f9b\u304c\u96e3\u3057\u3044\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u7406\u7531\u3067\u3001SPA\u3084\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u304c\u4ee3\u308f\u308a\u306b\u5229\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n<h2>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3068\u306f<\/h2>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9 \u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3067\u306f\u3001\u5b8c\u5168\u306b\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u6e08\u307f\u306e\u30da\u30fc\u30b8\u3092\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u53d7\u3051\u53d6\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u3092\uff08\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\uff09\u30d6\u30e9\u30a6\u30b6\u304c\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002\u30da\u30fc\u30b8\u304c\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u4ed6\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u9001\u4fe1\u306f\u7121\u304f\u3001\u30d6\u30e9\u30a6\u30b8\u30f3\u30b0\u304c\u975e\u5e38\u306b\u901f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133546\" aria-describedby=\"caption-attachment-133546\" style=\"width: 950px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-133546\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/09\/client-side-rendering-diagram.png\" alt=\"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u6d41\u308c\" width=\"950\" height=\"500\"><figcaption id=\"caption-attachment-133546\" class=\"wp-caption-text\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u6d41\u308c<\/figcaption><\/figure>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306f\u3001SPA\u306e\u8a95\u751f\u3092\u52a9\u3051\u3001\u30a6\u30a7\u30d6\u306b\u3042\u308b\u7a2e\u306e\u9769\u547d\u3092\u3082\u305f\u3089\u3057\u305f\u3002\u3069\u308c\u3060\u3051\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3082\u3001\u30da\u30fc\u30b8\u5168\u4f53\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3059\u308b\u5fc5\u8981\u306e\u306a\u3044\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u5185\u306e\u79fb\u52d5\u304c\u30b9\u30e0\u30fc\u30ba\u306b\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>SPA\u3068\u3044\u3046\u30a2\u30a4\u30c7\u30a2\u306f\u7d20\u6674\u3089\u3057\u3044\u3082\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u306f\u8907\u96d1\u3055\u3084\u305d\u308c\u306a\u308a\u306e\u554f\u984c\u304c\u4ed8\u968f\u3057\u307e\u3059\u3002\u305d\u3053\u3067\u767b\u5834\u3059\u308b\u306e\u304cInertia\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u52b9\u679c\u7684\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u554f\u984c\u306e\u5927\u90e8\u5206\u306b\u5bfe\u51e6\u3057\u3066\u3044\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u9577\u6240\u3092\u517c\u306d\u5099\u3048\u305f\u624b\u6cd5\u3060\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<h2>Inertia.js\u3068\u306f<\/h2>\n<p>Inertia\u306f\uff08\u52d8\u9055\u3044\u3055\u308c\u304c\u3061\u3067\u3059\u304c\uff09<a href=\"https:\/\/kinsta.com\/jp\/blog\/javascript-libraries\/\">JavaScript\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/a>\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u300cSPA\u3092\u958b\u767a\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3084\u30c4\u30fc\u30eb\u300d\u3068\u8868\u73fe\u3059\u308b\u65b9\u304c\u6b63\u78ba\u3067\u3059\u3002\u597d\u307f\u306e\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u5229\u7528\u3057\u3066\u3001\u305d\u308c\u306b\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u8907\u96d1\u3055\u3092\u4f34\u3046\u3053\u3068\u306a\u304f\u512a\u308c\u305fSPA\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Inertia\u306f\u3001\u65e2\u5b58\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u53d6\u3063\u3066\u4ee3\u308f\u308b\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u4ed8\u968f\u3059\u308b\u3082\u306e\u3068\u3057\u3066\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3088\u308a\u65e9\u304f\u3001\u3088\u308a\u52b9\u7387\u7684\u306b\u30bf\u30b9\u30af\u3092\u5b8c\u4e86\u3059\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002\u73fe\u5728\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30673\u3064\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08Vue\u3001React\u3001Svelte\uff09\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30672\u3064\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08Laravel\u3001Rails\uff09\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Inertia\u306f\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3068\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u4e21\u65b9\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u63a5\u7d9a\u3059\u308b\u5f79\u5272\u3092\u679c\u305f\u3059\u305f\u3081\u3001\u591a\u304f\u306e<a href=\"https:\/\/kinsta.com\/blog\/what-is-laravel\/\">Laravel\u958b\u767a\u8005<\/a>\u306b\u3068\u3063\u3066\u3001SPA\u69cb\u7bc9\u306e\u4fe1\u983c\u3067\u304d\u308b\u6280\u8853\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Inertia.js\u306e\u4ed5\u7d44\u307f<\/h2>\n<p>Inertia\u306fVue Router\u3068\u4f3c\u3066\u304a\u308a\u3001\u30da\u30fc\u30b8\u5168\u4f53\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30da\u30fc\u30b8\u9593\u306e\u79fb\u52d5\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002\u307e\u305f\u3001Inertia\u306f\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u540c\u671f\u3057\u3066\u52d5\u4f5c\u3057\u307e\u3059\u3002\u3053\u308c\u306e\u5b9f\u73fe\u306b\u306f\u3001<code>Link<\/code>\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<code>Link<\/code>\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u308b\u3068\u3001Inertia\u304c\u30af\u30ea\u30c3\u30af\u30a4\u30d9\u30f3\u30c8\u306b\u4ecb\u5165\u3057\u3001XHR\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3002\u30b5\u30fc\u30d0\u30fc\u306f\u3053\u308c\u304cInertia\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u3042\u308b\u3053\u3068\u3092\u8a8d\u8b58\u3057\u3066\u3001JSON\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306fJavaScript\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\u3068\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001\u305d\u306e\u5f8c\u3001Inertia\u306f\u4e0d\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u524a\u9664\u3057\u3001\u65b0\u3057\u3044\u30da\u30fc\u30b8\u306e\u8a2a\u554f\uff08\u8868\u793a\uff09\u306b\u5fc5\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u7f6e\u304d\u63db\u3048\u3001\u5c65\u6b74\u306e\u72b6\u614b\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<h3>Inertia.js\u306e\u6a5f\u80fd\u306e\u6df1\u5800\u308a<\/h3>\n<p>\u8a2a\u554f\u8005\u304c\u6700\u521d\u306b\u300c<strong>example.com<\/strong>\u300d\u3092\u8a2a\u308c\u308b\u6642\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u306f\u6a19\u6e96\u7684\u306a\u30d5\u30eb\u30da\u30fc\u30b8\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u5bfe\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u306fInertia\u304c\u5b58\u5728\u3057\u306a\u3044\u304b\u306e\u3088\u3046\u306b\u5b8c\u5168\u306a HTML\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306eHTML\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u3001\u3059\u3079\u3066\u306e\u30b5\u30a4\u30c8\u30a2\u30bb\u30c3\u30c8\uff08CSS\u3001JavaScript\uff09\u304c\u542b\u307e\u308c\u3001Inertia\u7528\u306e\u30a2\u30bb\u30c3\u30c8\u3082\u3053\u308c\u306b\u7d44\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002\u3088\u308a\u5177\u4f53\u7684\u306b\u306f\u3001\u521d\u671f\u30da\u30fc\u30b8\u306eJSON\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3057\u305f<code>data-page<\/code>\u5c5e\u6027\u3092\u6301\u3064\u30eb\u30fc\u30c8<code>div<\/code>\u3068\u306a\u308a\u307e\u3059\u3002Inertia\u306f\u3053\u306eJSON\u30c7\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u8d77\u52d5\u3057\u3001\u521d\u671f\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133547\" aria-describedby=\"caption-attachment-133547\" style=\"width: 950px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-133547\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/09\/Inertia-visit-initial-page.png\" alt=\"Inertia.js: \u521d\u671f\u30da\u30fc\u30b8\u8a2a\u554f\u6642\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\" width=\"950\" height=\"500\"><figcaption id=\"caption-attachment-133547\" class=\"wp-caption-text\">Inertia.js: \u521d\u671f\u30da\u30fc\u30b8\u8a2a\u554f\u6642\u306e\u30ec\u30b9\u30dd\u30f3\u30b9<\/figcaption><\/figure>\n<p>\u30a2\u30d7\u30ea\u8d77\u52d5\u5f8c\u306b\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c<code>Link<\/code>\u3092\u4f7f\u3063\u3066\u540c\u3058\u30c9\u30e1\u30a4\u30f3\u5185\u3067\u8a2a\u554f\u3059\u308b\u5404\u30eb\u30fc\u30c8\u306f\u3001<code>X-Inertia<\/code>\u30d8\u30c3\u30c0\u3092\u4f34\u3046XHR\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u5bfe\u3057\u3066\u3001Inertia\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u3042\u308b\u3053\u3068\u3092\u4f1d\u3048\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u305d\u308c\u306b\u5bfe\u3059\u308b\u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u3001\u6700\u521d\u306e\u8a2a\u554f\u6642\u306e\u3088\u3046\u306a\u5b8c\u5168\u306aHTML\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u306a\u304f\u3001\u30da\u30fc\u30b8\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u683c\u7d0d\u3057\u305fJSON\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133548\" aria-describedby=\"caption-attachment-133548\" style=\"width: 950px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-133548\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2022\/09\/Inertia-visit-route-in-the-same-domain.png\" alt=\"Inertia.js: \u5f8c\u7d9a\u306e\u30eb\u30fc\u30c8\u8a2a\u554f\u6642\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\" width=\"950\" height=\"500\"><figcaption id=\"caption-attachment-133548\" class=\"wp-caption-text\">Inertia.js: \u5f8c\u7d9a\u306e\u30eb\u30fc\u30c8\u8a2a\u554f\u6642\u306e\u30ec\u30b9\u30dd\u30f3\u30b9<\/figcaption><\/figure>\n<h2>Inertia.js\u3067\u89e3\u6c7a\u3067\u304d\u308b\u3053\u3068<\/h2>\n<p>Inertia\u306f\u3001\u30a6\u30a7\u30d6\u958b\u767a\u8005\u304c\u62b1\u3048\u308b\u591a\u304f\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u512a\u308c\u3082\u306e\u3067\u3059\u3002SPA\u306e\u8a2d\u8a08\u306b\u4f34\u3046\u8907\u96d1\u306a\u554f\u984c\u306e\u3059\u3079\u3066\u306b\u3001\u7d20\u65e9\u304f\u52b9\u679c\u7684\u306b\u5bfe\u51e6\u3059\u308b\u305f\u3081\u306b\u3001Inertia\u304c\u958b\u767a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h3>SPA\u306e\u8907\u96d1\u3055<\/h3>\n<p>Inertia\u306a\u3057\u3067SPA\u3092\u69cb\u7bc9\u3059\u308b\u3068\u306a\u308b\u3068\u3001REST\u3084GraphQL API\u3092\u4f5c\u6210\u3057\u3001\u4f55\u3089\u304b\u306e\u8a8d\u8a3c\u65b9\u6cd5\u3067\u4fdd\u8b77\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u72b6\u614b\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306e\u4f5c\u6210\u306a\u3069\u3001\u591a\u304f\u306e\u8981\u4ef6\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067Inertia\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001SPA\u306e\u69cb\u7bc9\u306b\u4f34\u3046\u3042\u3089\u3086\u308b\u8907\u96d1\u306a\u4f5c\u696d\u3092\u7701\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u7aef\u7684\u306b\u8a00\u3048\u3070\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u5b8c\u5168\u306b\u52d5\u4f5c\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u306eJavaScript\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5909\u63db\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>Inertia\u3092\u4f7f\u7528\u3057\u305fSPA\u306e\u4f5c\u6210\u306f\u3001\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30a2\u30d7\u30ea\u306e\u4f5c\u6210\u3068\u4f3c\u3066\u3044\u307e\u3059\u3002\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u4f5c\u6210\u3057\u3001\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u7167\u4f1a\u3057\u3001\u305d\u306e\u7d50\u679c\u3092\u30d3\u30e5\u30fc\u306b\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d3\u30e5\u30fc\u304cJavaScript\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3042\u308b\u3068\u3044\u3046\u70b9\u304c\u91cd\u8981\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001Inertia\u304c\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u9023\u643a\u3057\u3066\u3001\u30c7\u30fc\u30bf\u3092\u542b\u3080\u30da\u30fc\u30b8\u3092JavaScript\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u8868\u793a\u3059\u308b\u306e\u3067\u3001API\u3092\u5225\u9014\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>\u8a8d\u8a3c<\/h3>\n<p>Inertia\u306f\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u304b\u3089\u30c7\u30fc\u30bf\u3068\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u7d71\u5408\u3059\u308b\u305f\u3081\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u8a8d\u8a3c\u30b7\u30b9\u30c6\u30e0\u304c\u305d\u306e\u307e\u307e\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u306e\u8a8d\u8a3c\u306b\u3064\u3044\u3066\u5fc3\u914d\u3059\u308b\u5fc5\u8981\u306f\u306a\u304f\u3001\u4ee3\u308f\u308a\u306b\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e\u8a8d\u8a3c\u30b7\u30b9\u30c6\u30e0\u3068\u540c\u671f\u3059\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u30b7\u30b9\u30c6\u30e0\u3092\u78ba\u4fdd\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>SEO<\/h3>\n<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306b\u3064\u3044\u3066\u306e\u8aac\u660e\u306b\u3042\u3063\u305f\u3088\u3046\u306b\u3001\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306f\u30d6\u30e9\u30a6\u30b6\u306b\u5bfe\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u508d\u53d7\u3057\u3001\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u306eHTML\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u5316\u3057\u307e\u3059\u3002\u3057\u304b\u3057SPA\u306e\u5834\u5408\u3001\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u306fJavaScript\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3084JSON\u30c7\u30fc\u30bf\u304c\u8fd4\u3055\u308c\u308b\u305f\u3081\u3001\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u3068\u3063\u3066\u30da\u30fc\u30b8\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u89e3\u91c8\u304c\u56f0\u96e3\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067Inertia\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u8ffd\u52a0\u3067\u304d\u308b<a href=\"https:\/\/inertiajs.com\/server-side-rendering\" target=\"_blank\" rel=\"noopener noreferrer\">\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\uff08SSR\uff09\u6a5f\u80fd<\/a>\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u61f8\u5ff5\u3092\u89e3\u6c7a\u3057\u3066\u3044\u307e\u3059\u3002Node.js\u74b0\u5883\u3092\u30c8\u30ea\u30ac\u30fc\u3068\u3057\u3066\u3001JSON\u30c7\u30fc\u30bf\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304cHTML\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Inertia\u304c\u30b5\u30fc\u30d0\u30fc\u3068\u30d6\u30e9\u30a6\u30b6\u9593\u306b\u4f4d\u7f6e\u3057\u3066\u3044\u308b\u69d8\u5b50\u3092\u60f3\u50cf\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u30b5\u30fc\u30d0\u30fc\u304cInertia\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u4fe1\u3057\u3066JSON\u3067\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3059\u3068\u3001Inertia\u306fNode.js\u30b5\u30fc\u30d0\u30fc\u306e\u5b58\u5728\u3092\u691c\u77e5\u3057\u3066JSON\u30ec\u30b9\u30dd\u30f3\u30b9\u3092HTML\u306b\u5909\u63db\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306f\uff08\u305d\u306e\u30a2\u30d7\u30ea\u304cSPA\u3067\u306a\u3044\u304b\u306e\u3088\u3046\u306b\uff09\u30da\u30fc\u30b8\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001Inertia\u3067\u306f<code>Head<\/code>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3088\u308a\u3001\u30da\u30fc\u30b8\u306b\u30bf\u30a4\u30c8\u30eb\u3068\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">\n&lt;script setup&gt;\nimport { Head } from '@inertiajs\/inertia-vue3'\n&lt;\/script&gt;\n\n&lt;template&gt;\n  &lt;Head&gt;\n    &lt;title&gt;Page Title&lt;\/title&gt;\n    &lt;meta name=\"description\" content=\"Page Description&quot \/&gt;\n  &lt;\/Head&gt;\n&lt;\/template&gt;\n<\/code><\/pre>\n<p><a href=\"https:\/\/inertiajs.com\/title-and-meta\" target=\"_blank\" rel=\"noopener noreferrer\">Inertia\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306b\u3042\u308b\u5225\u306e\u4f8b\u3082\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-html\">\n\/\/ Layout.vue\n\nimport { Head } from '@inertiajs\/inertia-vue3'\n\n&lt;Head&gt;\n  &lt;title&gt;My app&lt;\/title&gt;\n  &lt;meta head-key=\"description\" name=\"description\" content=\"This is the default description\" \/&gt;\n  &lt;link rel=\"icon\" type=\"image\/svg+xml\" href=\"\/favicon.svg\" \/&gt;\n&lt;\/Head&gt;\n\n\/\/ About.vue\n\nimport { Head } from '@inertiajs\/inertia-vue3'\n\n&lt;Head&gt;\n  &lt;title&gt;About - My app&lt;\/title&gt;\n  &lt;meta head-key=\"description\" name=\"description\" content=\"This is a page specific description\" \/&gt;\n&lt;\/Head&gt;\n<\/code><\/pre>\n<h3>\u30d5\u30a9\u30fc\u30e0\u3068\u30d5\u30a9\u30fc\u30e0\u30d8\u30eb\u30d1<\/h3>\n<p>Inertia\u3067HTML\u3092\u4f7f\u3063\u305f\u6a19\u6e96\u7684\u306a\u30d5\u30a9\u30fc\u30e0\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u305d\u308c\u3067\u306f\u30da\u30fc\u30b8\u5168\u4f53\u304c\u518d\u8aad\u307f\u8fbc\u307f\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067Inertia\u306a\u3089\u3067\u306f\u306e\u65b9\u6cd5\u3092\u5229\u7528\u3059\u308b\u306e\u304c\u4fbf\u5229\u3067\u3059\u3002Inertia\u3067\u306e\u30d5\u30a9\u30fc\u30e0\u9001\u4fe1\u306f\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u3067\u51e6\u7406\u3055\u308c\u308b\u305f\u3081\u3001\u30e6\u30fc\u30b6\u30fc\u3092\u540c\u3058\u30da\u30fc\u30b8\u306b\u623b\u3059\uff08\u307e\u305f\u306f\u5168\u304f\u5225\u306e\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\uff09\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u81ea\u7531\u306b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Inertia\u3067\u306e\u30d5\u30a9\u30fc\u30e0\u306e\u64cd\u4f5c\u306f\u7c21\u5358\u3067\u3059\u3002Vue.js 3\u30b3\u30f3\u30dd\u30b8\u30b7\u30e7\u30f3API\u3067\u306e\u4f7f\u7528\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">\n&lt;script setup&gt;\n  import { useForm } from \"@inertiajs\/inertia-vue3\";\n\n  const form = useForm({\n    email: null,\n    password: null,\n  });\n&lt;\/script&gt;\n\n&lt;template&gt;\n  &lt;form @submit.prevent=\"form.post('kinsta\/login')\"&gt;\n    &lt;!-- email --&gt;\n    &lt;input type=\"text\" v-model=\"form.email\" \/&gt;\n    &lt;!-- password --&gt;\n    &lt;input type=\"password\" v-model=\"form.password\" \/&gt;\n    &lt;!-- submit --&gt;\n    &lt;button type=\"submit\"&gt;Login&lt;\/button&gt;\n  &lt;\/form&gt;\n&lt;\/template&gt;\n<\/code><\/pre>\n<p><code>GET<\/code>\u3001<code>POST<\/code>\u3001<code>PUT<\/code>\u3001<code>PATCH<\/code>\u3001<code>DELETE<\/code>\u3092\u4f7f\u3063\u305f\u30d5\u30a9\u30fc\u30e0\u9001\u4fe1\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-html\">\n&lt;script setup&gt;\n  import { useForm } from \"@inertiajs\/inertia-vue3\";\n\n  const form = useForm({\n    email: null,\n    password: null,\n  });\n\n  const submit = () =&gt; {\n    form.post(\"kinsta\/login\");\n  };\n&lt;\/script&gt;\n\n&lt;template&gt;\n  &lt;form @submit.prevent=\"submit()\"&gt;\n    &lt;!-- email --&gt;\n    &lt;input type=\"text\" v-model=\"form.email\" \/&gt;\n    &lt;!-- password --&gt;\n    &lt;input type=\"password\" v-model=\"form.password\" \/&gt;\n    &lt;!-- submit --&gt;\n    &lt;button type=\"submit\"&gt;Login&lt;\/button&gt;\n  &lt;\/form&gt;\n&lt;\/template&gt;\n<\/code><\/pre>\n<p>Inertia\u306e\u30d5\u30a9\u30fc\u30e0\u30d8\u30eb\u30d1\u306b\u306f\u3001\u6709\u7528\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u8907\u6570\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001<code>processing<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u51e6\u7406\u304c\u59cb\u307e\u308b\u3068\u3001<code>true<\/code>\u306b\u5909\u308f\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u51e6\u7406\u4e2d\u306b\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u7121\u52b9\u306b\u3057\u3066\u3001\u8907\u6570\u56de\u306e\u9001\u4fe1\u3092\u9632\u3050\u306e\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">\n&lt;button type=\"submit\" :disabled=\"form.processing\"&gt;Submit&lt;\/button&gt;\n<\/code><\/pre>\n<p>\u307e\u305f\u3001<code>preserveState<\/code>\u3001<code>preserveScroll<\/code>\u3001\u30a4\u30d9\u30f3\u30c8\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u5404\u7a2e\u3082\u4f7f\u7528\u3067\u304d\u3001\u30d5\u30a9\u30fc\u30e0\u306b\u4ed6\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3059\u308b\u969b\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-js\">\nform.post('kinsta\/login, {\n  preserveScroll: true,\n  onSuccess: () =&gt; form.reset('password'),\n})\n<\/code><\/pre>\n<h3>Inertia.js\u3067\u72b6\u614b\u3092\u8a18\u61b6\u3059\u308b<\/h3>\n<p>\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8\u306e\u8a2a\u554f\u8005\u304c\u30d5\u30a9\u30fc\u30e0\u306b\u60c5\u5831\u3092\u5165\u529b\u3057\u305f\u3082\u306e\u306e\u3001\u305d\u308c\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u306a\u304f\u5225\u306e\u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3057\u305f\u3068\u3057\u307e\u3059\u3002\u901a\u5e38\u3001\u3053\u306e\u72b6\u6cc1\u3067\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u3042\u308b\u30da\u30fc\u30b8\u306b\u623b\u3063\u3066\u3082\u305f\u3060\u7a7a\u6b04\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u307f\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u6ce8\u76ee\u3057\u305f\u3044\u306e\u304cInertia\u306e<code>useRemember<\/code>\u3068\u3044\u3046\u6a5f\u80fd\u3067\u3059\u3002\u3053\u308c\u3092\u4f7f\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u5165\u529b\u3057\u305f\u60c5\u5831\u3092\u30d6\u30e9\u30a6\u30b6\u306e\u5c65\u6b74\u306b\u4fdd\u5b58\u3057\u3001\u5f8c\u304b\u3089\u5fa9\u5143\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u6a5f\u80fd\u306f\u3001Inertia\u304b\u3089\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u30d5\u30a9\u30fc\u30e0\u306b\u9069\u7528\u3059\u308b\u3053\u3068\u3067\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-js\">\nimport { useRemember } from '@inertiajs\/inertia-vue3'\n\nexport default {\n  setup() {\n    const form = useRemember({\n        first_name: null,\n        last_name: null,\n    })\n\n    return { form }\n  },\n}\n<\/code><\/pre>\n<p><code>useRemember<\/code>\u3092\u4f7f\u7528\u3059\u308b\u30d5\u30a9\u30fc\u30e0\u304c\u30da\u30fc\u30b8\u306b\u8907\u6570\u3042\u308b\u72b6\u6cc1\u306a\u3069\u3067\u306f\u3001\u5404\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3069\u306e\u30c7\u30fc\u30bf\u3092\u5fa9\u5143\u3059\u308b\u304b\u8b58\u5225\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u305d\u308c\u305e\u308c\u4e00\u610f\u306e\u30ad\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-js\">\nconst form = useRemember({\n        first_name: null,\n        last_name: null,\n    }, 'Users\/Create')\n<\/code><\/pre>\n<p>Inertia\u306e\u30d5\u30a9\u30fc\u30e0\u30d8\u30eb\u30d1\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u306f\u3001<code>useRemember<\/code>\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002Inertia\u3067\u30d5\u30a9\u30fc\u30e0\u5165\u529b\u306e\u72b6\u614b\u304c\u81ea\u52d5\u3067\u8a18\u61b6\u3055\u308c\u308b\u306e\u3067\u3001\u4e00\u610f\u306e\u8b58\u5225\u5b50\u3092\u4e0e\u3048\u308b\u3060\u3051\u3067\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-js\">\nimport { useForm } from '@inertiajs\/inertia-vue3'\n\nconst form = useForm('CreateUser', data)\n<\/code><\/pre>\n<p>\u3053\u306e\u6a5f\u80fd\u306e\u9577\u6240\u3068\u3057\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u306e\u4efb\u610f\u306e\u30c7\u30fc\u30bf\u3092\u624b\u52d5\u3067\u8a18\u61b6\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u6df1\u304f\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304b\u3089\u30e1\u30a4\u30f3\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u30c7\u30fc\u30bf\u3092\u6e21\u3059\u969b\u306b\u3082\u6709\u7528\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-js\">\nimport { Inertia } from '@inertiajs\/inertia'\n\n\/\/ DeeplyNestedComponent.vue\nInertia.remember(data, 'my-key')\n\n\/\/ MainComponent.vue\nlet data = Inertia.restore('my-key')\n<\/code><\/pre>\n<h3>\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h3>\n<p>Inertia\u306f\u30d5\u30a9\u30fc\u30e0\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u691c\u51fa\u3057\u3001\u305d\u3046\u3067\u3042\u308b\u5834\u5408\u306b\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u30c7\u30fc\u30bf\u3092<code>formData<\/code>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5909\u63db\u3057\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u3001\u3053\u308c\u306f\u5e38\u306b\u5fc5\u8981\u306a\u51e6\u7406\u3068\u306a\u308a\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001nama\u3068avatar\u3092\u542b\u3080\u30d5\u30a9\u30fc\u30e0\u304c\u3042\u308b\u5834\u5408\u3001Inertia\u306f\u305d\u306e\u30d5\u30a9\u30fc\u30e0\u3092<code>multipart\/form-data<\/code>\u3068\u3057\u3066\u6271\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3068\u30a8\u30e9\u30fc<\/h3>\n<p>\u30e6\u30fc\u30b6\u30fc\u304c\u4e0d\u6b63\u306a\u5024\u3092\u542b\u3080\u30d5\u30a9\u30fc\u30e0\u3092\u9001\u4fe1\u3057\u3001\u305d\u308c\u304c\u691c\u8a3c\u306e\u305f\u3081\u306b\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3055\u308c\u308b\u3068\u3001\u691c\u8a3c\u30a8\u30e9\u30fc\u3092\u4f34\u3046\u304b\u305f\u3061\u3067\u3001\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u306f\u30d5\u30a9\u30fc\u30e0\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3055\u308c\u307e\u3059\u3002\u307e\u305f\u30bb\u30c3\u30b7\u30e7\u30f3\u304b\u3089\u30a8\u30e9\u30fc\u304c\u6355\u6349\u3055\u308c\u3001\u30da\u30fc\u30b8\u306eprops\u3068\u3057\u3066\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>props\u306f\u30ea\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u306e\u3067\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u304c\u5b8c\u4e86\u3057\u305f\u6642\u70b9\u3067\u306e\u8868\u793a\u3068\u306a\u308a\u307e\u3059\u3002\u30a8\u30e9\u30fc\u306e\u5b58\u5728\u3092\u691c\u51fa\u3059\u308b\u305f\u3081\u306b\u3001<code>page.props.errors<\/code>\u306f\u5e38\u306b\u76e3\u8996\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u304c\u898b\u3064\u304b\u308b\u3068\u3001<code>onSuccess()<\/code>\u306e\u4ee3\u308f\u308a\u306b<code>onError()<\/code>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u304c\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u6319\u52d5\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u3001Vue 3\u3092\u4f7f\u7528\u3057\u305f\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-js\">\nconst submit = () =&gt; {\n    form.post(\"kinsta\/login\", {\n        onError: () =&gt; {\n            return \"Hi! , the server returned an error and Inertia saved it as a prop. Do as you like with me\"\n        },\n        onSuccess: () =&gt; {\n            return \"Wohoo!!\"\n        }\n    }\n    );\n  };\n<\/code><\/pre>\n<p>\u30a8\u30e9\u30fc\u306e\u6271\u3044\u306f\u7c21\u5358\u3067\u3059\u3002props\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3001HTML\u306b\u6761\u4ef6\u4ed8\u304d\u3067\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">\n&lt;script setup&gt;\n  defineProps({\n    errors: Object,\n  });\n\n\/\/\n&lt;\/script&gt;\n\n&lt;template&gt;\n  &lt;form @submit.prevent=\"submit()\"&gt;\n    \/\/\n    &lt;div v-if=\"errors.email\"&gt;{{ errors.email }}&lt;\/div&gt;\n  &lt;\/form&gt;\n&lt;\/template&gt;\n<\/code><\/pre>\n<p>Inertia\u3067\u306f\u3001\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u4ee5\u524d\u306e\u5165\u529b\u30c7\u30fc\u30bf\u3092\u6c17\u306b\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30e6\u30fc\u30b6\u30fc\u304c\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u305f\u3053\u3068\u3092\u691c\u51fa\u3059\u308b\u3068\u3001<code>POST<\/code>\u3001<code>PUT<\/code>\u3001<code>PATCH<\/code>\u3001<code>DELETE<\/code>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4ee5\u524d\u306e\u72b6\u614b\u304c\u81ea\u52d5\u3067\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>Inertia.js\u306b\u3088\u308b\u90e8\u5206\u7684\u518d\u8aad\u307f\u8fbc\u307f<\/h3>\n<p>Inertia\u306e\u90e8\u5206\u7684\u518d\u8aad\u307f\u8fbc\u307f\u306f\u975e\u5e38\u306b\u512a\u308c\u305f\u6a5f\u80fd\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u5168\u4f53\u3092\u518d\u5ea6\u53d6\u5f97\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30da\u30fc\u30b8\u4e0a\u3067\u9078\u629e\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u307f\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u6700\u9069\u5316\u3092\u6b21\u306e\u30ec\u30d9\u30eb\u306b\u5f15\u304d\u4e0a\u3052\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u95a2\u9023\u3057\u3066\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/laravel-performance\/\">Laravel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u9069\u5316\u3059\u308b\u65b9\u6cd5<\/a>\u3082\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u90e8\u5206\u7684\u518d\u8aad\u307f\u8fbc\u307f\u306f\u3001Inertia\u306e<code>only<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u3066\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-js\">\nimport { Inertia } from '@inertiajs\/inertia'\n\nInertia.visit(url, {\n  only: ['users'],\n})\n<\/code><\/pre>\n<h3>Inertia.js\u306b\u3088\u308b\u5916\u90e8\u30ea\u30c0\u30a4\u30ec\u30af\u30c8<\/h3>\n<p>\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3001\u307e\u305f\u306f\u5916\u90e8\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u3001SPA\u306b\u304a\u3051\u308b\u6700\u3082\u5384\u4ecb\u306a\u8ab2\u984c\u306e1\u3064\u3067\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092SPA\u3068\u3057\u3066\u4fdd\u6301\u3057\u306a\u304c\u3089\u3001\u5225\u306e\u30c9\u30e1\u30a4\u30f3\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306e\u306f\u3042\u307e\u308a\u5408\u7406\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Inertia\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5916\u90e8\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3084\u3001\u30a2\u30d7\u30ea\u5185\u306eInertia\u4ee5\u5916\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u304b\u3089\u5b9f\u884c\u3059\u308b<code>window.location<\/code>\u306b\u3088\u308a\u5b9f\u73fe\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">\nreturn Inertia::location($url);\n<\/code><\/pre>\n<p>\u3053\u306e\u30c6\u30b9\u30c8\u4e2d\u306b\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u958b\u304f\u3068\u3001<code>409 conflict<\/code>\u304c\u8fd4\u3055\u308c\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3053\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f<code>X-Inertia-Location<\/code>\u30d8\u30c3\u30c0\u306eURL\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001Inertia\u306f\u3053\u308c\u3092\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u691c\u51fa\u3057\u3001\u81ea\u52d5\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h2>Inertia.js\u306e\u6271\u3044\u65b9<\/h2>\n<p>Inertia\u3067\u306e\u4f5c\u696d\u306f\u3001\u5b8c\u5168\u306b\u30ea\u30a2\u30af\u30c6\u30a3\u30d6\u306aSPA\u3067\u3042\u308b\u3068\u3044\u3046\u7279\u5fb4\u3092\u9664\u3044\u3066\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u305d\u308c\u306b\u4f3c\u305f\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002\u30eb\u30fc\u30c8\u3092\u5b9a\u7fa9\u3057\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3001Inertia\u304c\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u9001\u4fe1\u3059\u308b\u30d3\u30e5\u30fc\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Laravel\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3068Inertia.js<\/h3>\n<p>Laravel\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u6642\u306b\u8efd\u8996\u3057\u3066\u306f\u306a\u3089\u306a\u3044\u8981\u7d20\u3067\u3059\u3002\u3053\u308c\u3092\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u3001\u8907\u96d1\u306a\u30eb\u30fc\u30c8\u3092\u7d20\u65e9\u304f\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002Laravel\u3068\u305d\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u4ed5\u7d44\u307f\u306b\u3064\u3044\u3066\u306e<a href=\"https:\/\/kinsta.com\/blog\/laravel-tutorial\/\">\u7121\u6599\u307e\u305f\u306f\u6709\u6599\u306eLaravel\u5b66\u7fd2\u30ea\u30bd\u30fc\u30b9<\/a>\u306f\u8c4a\u5bcc\u306b\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>Inertia\u3067\u306f\u72ec\u81ea\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u304c\u63a1\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002Laravel\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3068\u9023\u52d5\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u5358\u7d14\u306a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u884c\u3046\u306e\u306bVue Router\u3084React Router\u3092\u5fc5\u8981\u3068\u3057\u307e\u305b\u3093\u3002\u30b8\u30e7\u30d6\u306e\u5b9f\u884c\u306b\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30c7\u30fc\u30bf\u304c\u5fc5\u8981\u3067\u306a\u3051\u308c\u3070\u3001\u30eb\u30fc\u30bf\u30fc\u30d8\u30eb\u30d1\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u76f4\u63a5\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">\nRoute::inertia('\/home', 'HomeComponent');\n<\/code><\/pre>\n<pre><code class=\"language-php\">\npublic function index()\n    {\n    return Inertia::render('Users\/Index', [\n        'users' =&gt; User::all();\n        'create_url' =&gt; URL::route('users.create'),\n    ]);\n}\n<\/code><\/pre>\n<p>\u3053\u3053\u3067\u4e00\u65e6\u3001\u958b\u767a\u3001\u30c7\u30b6\u30a4\u30f3\u3001\u4ee3\u884c\u696d\u3092\u884c\u3046\u65b9\u3005\u5411\u3051\u306b\u304a\u77e5\u3089\u305b\u3067\u3059\u3002\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u3084\u8907\u6570\u30da\u30fc\u30b8\u306eWordPress\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u3092\u69cb\u7bc9\u3067\u304d\u308b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3001<a href=\"https:\/\/kinsta.com\/jp\/devkinsta\/\">DevKinsta<\/a>\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u4fbf\u5229\u306a\u70b9\u3068\u3057\u3066\u3001WordPress\u306f<a href=\"https:\/\/github.com\/corcel\/corcel\" target=\"_blank\" rel=\"noopener noreferrer\">Corcel<\/a>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u7528\u3057\u3066Laravel\u3068\u7d71\u5408\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001WordPress\u3092\u7d71\u5408\u3057\u305fLaravel\u30a2\u30d7\u30ea\u306e\u69cb\u7bc9\u306a\u3069\u3067\u3042\u308c\u3070\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u76e3\u8996\u306b<a href=\"https:\/\/kinsta.com\/jp\/apm-tool\/\">Kinsta APM<\/a>\u3092\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8<\/h3>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u5fdc\u3059\u308b\u6b63\u3057\u3044\u30d1\u30b9\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3059\u308b\u3053\u3068\u306f\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u6295\u7a3f\u306e\u9001\u4fe1\u306b<code>store<\/code>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u305f\u3068\u3059\u308b\u3068\u3001\u6295\u7a3f\u306e\u5b8c\u4e86\u5f8c\u306b\u306f\u3001<code>GET<\/code>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3078\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u884c\u3046\u3068\u3044\u3063\u305f\u914d\u616e\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">\npublic function store()\n{\n    Post::create(\n        Request::validate([\n            'title' =&gt; ['required'],\n            'body' =&gt; ['required'],\n        ])\n    );\n\n    \/\/ redirect the user to the posts show page\n    return Redirect::route('posts.show');\n}\n<\/code><\/pre>\n<h2>Inertia.js\u3092\u4f7f\u7528\u3059\u308b\u969b\u306e\u6ce8\u610f\u70b9<\/h2>\n<p>\u3053\u3053\u307e\u3067\u306f\u3001Inertia\u3092\u4f7f\u7528\u3059\u308b\u5229\u70b9\u306b\u7126\u70b9\u3092\u5408\u308f\u305b\u3066\u304d\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001Inertia\u306b\u3082\u6b20\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>Vue\u3084React\u306e\u57fa\u672c\u7684\u306a\u77e5\u8b58\u304c\u5fc5\u8981\u3067\u3042\u308b<\/li>\n<li>\u30e2\u30c7\u30eb\u30c7\u30fc\u30bf\u306f\u5b8c\u5168\u306b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306b\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3053\u3068\u304b\u3089\u3001\u95a2\u9023\u3059\u308b\u30c7\u30fc\u30bf\u3092\u660e\u793a\u7684\u306b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306b\u8fd4\u3059\u3088\u3046\u306b\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044<\/li>\n<li>Android\u3084iOS\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3059\u308b\u3068\u306a\u3063\u305f\u5834\u5408\u306b\u306f\u3001\u57fa\u672c\u7684\u306b\u306fAPI\u3092\u4f5c\u308a\u76f4\u3055\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044<\/li>\n<\/ul>\n<h2>Inertia.js\u3092\u4f7f\u3046\u3079\u304d\u304b<\/h2>\n<p>Inertia\u3092\u4f7f\u3046\u3079\u304d\u304b\u3069\u3046\u304b\u3068\u3044\u3046\u8cea\u554f\u306b\u7b54\u3048\u308b\u3068\u3001\u591a\u304f\u306e\u30b1\u30fc\u30b9\u3067\u306e\u6d3b\u7528\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u3067\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e\u3001\u305d\u3057\u3066\u3001SEO\u3092\u8003\u616e\u3057\u305f\u30e2\u30c0\u30f3\u306a\u30a2\u30d7\u30ea\u3092\u69cb\u7bc9\u3057\u305f\u3044\u306e\u3067\u3042\u308c\u3070\u3001Inertia\u306f\u691c\u8a0e\u306b\u5024\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/inertiajs.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Inertia.js\u306e\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u3067\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u30a6\u30a7\u30d6\u6280\u8853\u306e\u9032\u5316\u306b\u4f34\u3044\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u306e\u30a2\u30d7\u30ea\u3084SPA\u306e\u4eba\u6c17\u304c\u9ad8\u307e\u308a\u3092\u898b\u305b\u3066\u3044\u307e\u3059\u3002\u4e00\u65b9\u3067\u3001\u5f93\u6765\u578b\u306e\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u306f\u8870\u9000\u304c\u611f\u3058\u3089\u308c\u307e\u3059\u3002\u696d\u754c\u306e\u5909\u5316\u306b\u67d4\u8edf\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u6700\u65b0\u306e\u6280\u8853\u3084\u30c4\u30fc\u30eb\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>Inertia\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306b\u7cbe\u901a\u3057\u305f\u958b\u767a\u8005\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u4e0a\u3067\u3001\u975e\u5e38\u306b\u4fbf\u5229\u306a\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u3042\u3089\u3086\u308b\u554f\u984c\u3092\u89e3\u6c7a\u3057\u3001\u591a\u304f\u306e\u6642\u9593\u3092\u7bc0\u7d04\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Inertia\u306f\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u304a\u308a\u3001SEO\u3092\u8003\u616e\u3057\u305f\u67d4\u8edf\u306aSPA\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3059\u3089\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>Inertia\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u304c\u6d3b\u767a\u3067\u3042\u308b\u3053\u3068\u3082\u7279\u7b46\u306b\u5024\u3057\u307e\u3059\u3002Laravel Forge\u3001Laracasts\u306a\u3069\u3001\u6709\u540d\u3069\u3053\u308d\u304c\u3053\u308c\u3092\u652f\u6301\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u7d50\u679c\u3001Inertia\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/laravel-developer\/\">Laravel\u958b\u767a\u8005<\/a>\u3084<a href=\"https:\/\/kinsta.com\/blog\/laravel-developer-salary\/\">Laravel\u958b\u767a\u306e\u9700\u8981<\/a>\u304c\u5897\u3048\u7d9a\u3051\u308b\u4e2d\u3067\u3001\u4eca\u5f8c\u3082\u7d99\u7d9a\u7684\u306b\u6539\u5584\u30fb\u7dad\u6301\u3055\u308c\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001Inertia\u3092\u4f7f\u7528\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\u3092\u304a\u63a2\u3057\u3067\u3042\u308c\u3070\u3001Kinsta\u306e<a href=\"https:\/\/sevalla.com\/application-hosting\/\">\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc<\/a>\u3092\u662f\u975e\u3068\u3082\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Inertia.js\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u3068\u30b5\u30fc\u30d0\u30fc &#8230;<\/p>\n","protected":false},"author":266,"featured_media":38764,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[713,482,556,184],"topic":[778],"class_list":["post-38763","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-inertia-js","tag-javascript","tag-node-js","tag-web-development","topic-javascript-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09\uff5c Kinsta\u00ae<\/title>\n<meta name=\"description\" content=\"Inertia.js\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3044\u304b\u306b\u5bb9\u6613\u306b\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3001\u958b\u767a\u8005\u306e\u3042\u3089\u3086\u308b\u554f\u984c\u3092\u3069\u3046\u89e3\u6c7a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09\" \/>\n<meta property=\"og:description\" content=\"Inertia.js\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3044\u304b\u306b\u5bb9\u6613\u306b\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3001\u958b\u767a\u8005\u306e\u3042\u3089\u3086\u308b\u554f\u984c\u3092\u3069\u3046\u89e3\u6c7a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-07T11:05:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-01T19:48:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mostafa Said\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"Inertia.js\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3044\u304b\u306b\u5bb9\u6613\u306b\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3001\u958b\u767a\u8005\u306e\u3042\u3089\u3086\u308b\u554f\u984c\u3092\u3069\u3046\u89e3\u6c7a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mostafa Said\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/\"},\"author\":{\"name\":\"Mostafa Said\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/e96baff25a5ee7e63a525f9557f79996\"},\"headline\":\"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09\",\"datePublished\":\"2022-11-07T11:05:33+00:00\",\"dateModified\":\"2025-10-01T19:48:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/\"},\"wordCount\":253,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg\",\"keywords\":[\"inertia.js\",\"JavaScript\",\"node.js\",\"web development\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/\",\"name\":\"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09\uff5c Kinsta\u00ae\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg\",\"datePublished\":\"2022-11-07T11:05:33+00:00\",\"dateModified\":\"2025-10-01T19:48:09+00:00\",\"description\":\"Inertia.js\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3044\u304b\u306b\u5bb9\u6613\u306b\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3001\u958b\u767a\u8005\u306e\u3042\u3089\u3086\u308b\u554f\u984c\u3092\u3069\u3046\u89e3\u6c7a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#primaryimage\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg\",\"width\":1460,\"height\":730,\"caption\":\"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript\u5b66\u7fd2\u30ea\u30bd\u30fc\u30b9\",\"item\":\"https:\/\/kinsta.com\/jp\/topics\/javascript-tutorials\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinsta.com\/jp\/#website\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/e96baff25a5ee7e63a525f9557f79996\",\"name\":\"Mostafa Said\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/96bb303b019e8ddbdbaea885a36fee51?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/96bb303b019e8ddbdbaea885a36fee51?s=96&d=mm&r=g\",\"caption\":\"Mostafa Said\"},\"description\":\"I\u2019m Mostafa, a full-stack developer with a knack for all things Laravel, Inertia, and JavaScript frameworks. When I'm not coding, you can find me sharing my knowledge through tutorials, diving into hackathons (and winning a few), and spreading the love for tech by teaching what I've learned.\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/author\/mostafasaid\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09\uff5c Kinsta\u00ae","description":"Inertia.js\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3044\u304b\u306b\u5bb9\u6613\u306b\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3001\u958b\u767a\u8005\u306e\u3042\u3089\u3086\u308b\u554f\u984c\u3092\u3069\u3046\u89e3\u6c7a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/","og_locale":"ja_JP","og_type":"article","og_title":"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09","og_description":"Inertia.js\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3044\u304b\u306b\u5bb9\u6613\u306b\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3001\u958b\u767a\u8005\u306e\u3042\u3089\u3086\u308b\u554f\u984c\u3092\u3069\u3046\u89e3\u6c7a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2022-11-07T11:05:33+00:00","article_modified_time":"2025-10-01T19:48:09+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg","type":"image\/jpeg"}],"author":"Mostafa Said","twitter_card":"summary_large_image","twitter_description":"Inertia.js\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3044\u304b\u306b\u5bb9\u6613\u306b\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3001\u958b\u767a\u8005\u306e\u3042\u3089\u3086\u308b\u554f\u984c\u3092\u3069\u3046\u89e3\u6c7a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter_image":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg","twitter_creator":"@Kinsta_JP","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Mostafa Said","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#article","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/"},"author":{"name":"Mostafa Said","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/e96baff25a5ee7e63a525f9557f79996"},"headline":"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09","datePublished":"2022-11-07T11:05:33+00:00","dateModified":"2025-10-01T19:48:09+00:00","mainEntityOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/"},"wordCount":253,"commentCount":0,"publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg","keywords":["inertia.js","JavaScript","node.js","web development"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/","url":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/","name":"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09\uff5c Kinsta\u00ae","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#primaryimage"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg","datePublished":"2022-11-07T11:05:33+00:00","dateModified":"2025-10-01T19:48:09+00:00","description":"Inertia.js\u304c\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3044\u304b\u306b\u5bb9\u6613\u306b\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3001\u958b\u767a\u8005\u306e\u3042\u3089\u3086\u308b\u554f\u984c\u3092\u3069\u3046\u89e3\u6c7a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinsta.com\/jp\/blog\/inertia-js\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#primaryimage","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/11\/inertia-js.jpg","width":1460,"height":730,"caption":"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09"},{"@type":"BreadcrumbList","@id":"https:\/\/kinsta.com\/jp\/blog\/inertia-js\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"JavaScript\u5b66\u7fd2\u30ea\u30bd\u30fc\u30b9","item":"https:\/\/kinsta.com\/jp\/topics\/javascript-tutorials\/"},{"@type":"ListItem","position":3,"name":"Inertia.js\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\uff08\u5fb9\u5e95\u89e3\u8aac\uff09"}]},{"@type":"WebSite","@id":"https:\/\/kinsta.com\/jp\/#website","url":"https:\/\/kinsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/e96baff25a5ee7e63a525f9557f79996","name":"Mostafa Said","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/96bb303b019e8ddbdbaea885a36fee51?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/96bb303b019e8ddbdbaea885a36fee51?s=96&d=mm&r=g","caption":"Mostafa Said"},"description":"I\u2019m Mostafa, a full-stack developer with a knack for all things Laravel, Inertia, and JavaScript frameworks. When I'm not coding, you can find me sharing my knowledge through tutorials, diving into hackathons (and winning a few), and spreading the love for tech by teaching what I've learned.","url":"https:\/\/kinsta.com\/jp\/blog\/author\/mostafasaid\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/38763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/users\/266"}],"replies":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/comments?post=38763"}],"version-history":[{"count":15,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/38763\/revisions"}],"predecessor-version":[{"id":45094,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/38763\/revisions\/45094"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/de"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/jp"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/nl"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/es"},{"embeddable":true,"hreflang":"sv","title":"Swedish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/se"},{"embeddable":true,"hreflang":"da","title":"Danish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/translations\/dk"},{"href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/38763\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media\/38764"}],"wp:attachment":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media?parent=38763"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/tags?post=38763"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/topic?post=38763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}