{"id":9987,"date":"2022-01-31T07:00:13","date_gmt":"2022-01-30T22:00:13","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=9987"},"modified":"2022-01-18T20:52:59","modified_gmt":"2022-01-18T11:52:59","slug":"laravel-%e3%81%a7-svelt-%e3%82%92%e4%bd%bf%e3%81%86-%e3%80%9c-%e3%82%88%e3%82%8a%e3%82%b7%e3%83%b3%e3%83%97%e3%83%ab%e3%82%92%e6%b1%82%e3%82%81%e3%81%a6%ef%bc%92-%e3%80%9c","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=9987","title":{"rendered":"Laravel \u3067 Svelte \u3092\u4f7f\u3046 \u301c \u3088\u308a\u30b7\u30f3\u30d7\u30eb\u3092\u6c42\u3081\u3066\uff12 \u301c"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u4ee5\u524d\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u4e8b\u3092\u304a\u5c4a\u3051\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\ud83d\udcdd <strong>\u904e\u53bb\u8a18\u4e8b\uff1a<\/strong> <a href=\"https:\/\/blog.capilano-fw.com\/?p=9844\">Laravel + Livewire \u3067 CRUD \u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b \u301c \u3088\u308a\u30b7\u30f3\u30d7\u30eb\u3092\u6c42\u3081\u3066 \u301c<\/a><\/p>\n<p>\u7406\u7531\u3068\u3057\u3066\u306f\u3001<code>Vue.js<\/code>\u304c<code>2<\/code>\u2192<code>3<\/code>\u306e\u30e1\u30b8\u30e3\u30fc\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u5c11\u3057\u8907\u96d1\u306b\u306a\u308a\u3001\u6700\u5927\u306e\u30e1\u30ea\u30c3\u30c8\u300c<strong>\u30b7\u30f3\u30d7\u30eb\u306a\u306e\u306b\u9ad8\u6a5f\u80fd<\/strong>\u300d\u3092\u5931\u3063\u305f\u611f\u304c\u3042\u3063\u305f\u305f\u3081\u3001\u4ed6\u306e\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u3082\u8abf\u67fb\u3057\u3066\u307f\u305f\u304b\u3063\u305f\u304b\u3089\u3067\u3059\u3002\uff08\u3068\u306f\u3044\u3048\u3001\u73fe\u5728\u3082\u79c1\u306e\u30e1\u30a4\u30f3\u306f<code>Vue.js<\/code>\u3092\u4f7f\u3063\u3066\u307e\u3059\u304c\uff09<\/p>\n<p>\u305d\u3057\u3066\u305d\u306e\u6d41\u308c\u3067\u3001\u4eca\u56de\u306f<code>Twitter<\/code>\u306a\u3069\u3067\u3082\u898b\u304b\u3051\u308b\u300c<a href=\"https:\/\/svelte.dev\/\" target=\"_blank\" rel=\"noopener\">Svelte<\/a>\u300d\u3092\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><code>Svelte<\/code>\u3068\u306f\u3001\u3053\u308c\u307e\u3067\u306e<code>JavaScript<\/code>\u3068\u306f\u5c11\u3057\u9055\u3063\u305f\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3044\u3046\u3088\u308a\u306f\u300c<strong>\u30b3\u30f3\u30d1\u30a4\u30e9<\/strong>\u300d\u3068\u3044\u3046\u4f4d\u7f6e\u3065\u3051\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001<code>Svelte<\/code>\u516c\u5f0f\u30da\u30fc\u30b8\u306e\u8aac\u660e\u3092 <strong><a href=\"https:\/\/www.deepl.com\/translator\" target=\"_blank\" rel=\"noopener\">DeepL<\/a><\/strong> \u3067\u7ffb\u8a33\u3057\u305f\u3082\u306e\u3067\u3059\u3002\uff08<code>DeepL<\/code>\u306e\u30af\u30aa\u30ea\u30c6\u30a3\u3001\u3059\u3054\u3044\u3067\u3059\u306d\ud83d\ude33\uff09<\/p>\n<blockquote><p>Svelte \u306f\u3001\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u629c\u672c\u7684\u306a\u65b0\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3059\u3002React \u3084 Vue \u306e\u3088\u3046\u306a\u5f93\u6765\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u4f5c\u696d\u306e\u5927\u90e8\u5206\u3092\u884c\u3046\u306e\u306b\u5bfe\u3057\u3001Svelte \u306f\u305d\u306e\u4f5c\u696d\u3092\u30a2\u30d7\u30ea\u306e\u30d3\u30eb\u30c9\u6642\u306b\u767a\u751f\u3059\u308b\u30b3\u30f3\u30d1\u30a4\u30eb\u30b9\u30c6\u30c3\u30d7\u306b\u30b7\u30d5\u30c8\u3055\u305b\u307e\u3059\u3002<\/p><\/blockquote>\n<p>\u305d\u3053\u3067\u2757<\/p>\n<p>\u4eca\u56de\u306f\u3001<code>Laravel + Svelte<\/code>\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3092\u307e\u3068\u3081\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305c\u3072\u4f55\u304b\u306e\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3089\u5b09\u3057\u3044\u3067\u3059\u3002\ud83d\ude04\u2728<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9238 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/06\/no_4.png\" alt=\"\" width=\"318\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/06\/no_4.png 318w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/06\/no_4-298x300.png 298w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/06\/no_4-150x150.png 150w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/06\/no_4-100x100.png 100w\" sizes=\"auto, (max-width: 318px) 100vw, 318px\" \/>\u300c\u3044\u3089\u306a\u3044\u30e2\u30ce\u3092\u3042\u3052\u305f\u9014\u7aef\u3001<br \/>\n\u9006\u306b\u76ee\u306b\u306f\u30e2\u30ce\u30e2\u30e9\u30a4\u2026\ud83d\ude23\u300d<\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Laravel 8.x<\/p>\n<h1>Laravel \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066<\/h1>\n<p>\u4eca\u56de\u306f\u30d3\u30eb\u30c9\u74b0\u5883\u3082\u304b\u3089\u3093\u3067\u304f\u308b\u305f\u3081\u3001<code>Laravel<\/code>\u3067<code>Svelte<\/code>\u3092\u8a66\u3059\u5834\u5408\u306f\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<h1>Laravel Mix \u7528\u306e Svelte \u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h1>\n<p><code>Laravel Mix<\/code>\u306b\u306f<code>Svelte<\/code>\u306e\u62e1\u5f35\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3053\u306e\u62e1\u5f35\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>npm install wewowweb\/laravel-mix-svelte<\/strong><\/pre>\n<p>\u203b \u3061\u306a\u307f\u306b\u3001\u3082\u3057<code>Laravel<\/code>\u3092\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u306f<code>npm install<\/code>\u3082\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h1>Laravel Mix \u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b<\/h1>\n<p>\u6b21\u306b<code>Laravel Mix<\/code>\uff08\u30d3\u30eb\u30c9\u74b0\u5883\uff09\u3067<code>Svelte<\/code>\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><strong>webpack.mix.js<\/strong><\/p>\n<pre><strong>const mix = require('laravel-mix');<\/strong>\n\n<strong>require('laravel-mix-svelte');<\/strong>\n\n<strong>mix.js('resources\/js\/app.js', 'public\/js')<\/strong>\n<strong>    .svelte();<\/strong><\/pre>\n<h1>Svelt \u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u3064\u304f\u308b<\/h1>\n<p>\u3053\u3053\u304b\u3089\u304c<code>Svelte<\/code>\u306e\u4f5c\u696d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u672c\u4f53\u3092\u3064\u304f\u308b<\/h2>\n<p>\u307e\u305a\u306f\u30b7\u30f3\u30d7\u30eb\u306b\u300c<strong>\u30bf\u30a4\u30c8\u30eb\u3067\u3059<\/strong>\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u3060\u3051\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u3064\u304f\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><strong>resources\/js\/svelte\/components\/App.svelte<\/strong><\/p>\n<pre><strong>&lt;div&gt;<\/strong>\n<strong>    &lt;h1&gt;\u30bf\u30a4\u30c8\u30eb\u3067\u3059&lt;\/h1&gt;<\/strong>\n<strong>&lt;\/div&gt;<\/strong><\/pre>\n<h2>\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u767b\u9332\u3059\u308b<\/h2>\n<p>\u6b21\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u305f\u3060\u3051\u3067\u306f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u767b\u9332\u3092\u3057\u307e\u3059\u3002<\/p>\n<p><strong>resources\/js\/app.js<\/strong><\/p>\n<pre><strong>require('.\/bootstrap');<\/strong>\n\n<strong>import App from '.\/svelte\/components\/App.svelte';<\/strong>\n\n<strong>new App({<\/strong>\n<strong>    target: document.querySelector('#app')<\/strong>\n<strong>});<\/strong><\/pre>\n<h2>\u30d3\u30eb\u30c9\u3059\u308b<\/h2>\n<p>\u3067\u306f\u3001\u3053\u306e\u72b6\u614b\u3067\u30d3\u30eb\u30c9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>npm run dev<\/strong><\/pre>\n<p>\u3053\u308c\u3067\uff08\u30a8\u30e9\u30fc\u304c\u306a\u3051\u308c\u3070\uff09<code>\/js\/app.js<\/code>\u304c\u4f5c\u6210\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h1>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u3046<\/h1>\n<p>\u3067\u306f\u3001\u30d3\u30eb\u30c9\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u307e\u305a\u306f\u3001\u30d3\u30e5\u30fc\u3067\u3059\u3002<\/p>\n<p><strong>resources\/views\/home.blade.php<\/strong><\/p>\n<pre><strong>&lt;html&gt;<\/strong>\n<strong>    &lt;body&gt;\n<\/strong>        &lt;!-- \ud83d\udc47\u3053\u3053\u306b\u633f\u5165\u3055\u308c\u307e\u3059 --&gt;\n<strong>        &lt;div id=\"app\"&gt;&lt;\/div&gt;<\/strong>\n<strong>        &lt;script src=\"{{ asset('js\/app.js') }}\"&gt;&lt;\/script&gt;<\/strong>\n<strong>    &lt;\/body&gt;<\/strong>\n<strong>&lt;\/html&gt;<\/strong><\/pre>\n<p>\u305d\u3057\u3066\u3001\u30eb\u30fc\u30c8\u3078\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<p><strong>routes\/web.php<\/strong><\/p>\n<pre><strong>Route::get('\/', fn() =&gt; view('home'));<\/strong><\/pre>\n<p>\u3067\u306f\u3001\u3053\u306e\u72b6\u614b\u3067\u30d6\u30e9\u30a6\u30b6\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9991\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_1.png\" alt=\"\" width=\"211\" height=\"66\" \/><\/p>\n<p>\u306f\u3044\u2757<\/p>\n<p>\u3046\u307e\u304f\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u3053\u308c\u304c\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3067\u3059 \ud83d\udc4d<\/p>\n<h1>JavaScript &amp; CSS \u3092\u3064\u304b\u3046<\/h1>\n<p>\u3067\u306f\u3001\u6b21\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4e2d\u3067<code>JavaScript<\/code>\u3068<code>CSS<\/code>\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3068\u3044\u3063\u3066\u3082\u3001\u3053\u308c\u306f<code>Svelte<\/code>\u306e\u826f\u3044\u90e8\u5206\u3067\u3059\u304c\u3001\u307b\u307c<code>HTML<\/code>\u3068\u540c\u3058\u3088\u3046\u306b\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>resources\/js\/svelte\/components\/App.svelte<\/strong><\/p>\n<pre><strong>&lt;script&gt;<\/strong>\n\n<strong>    let time = '';<\/strong>\n\n<strong>    setInterval(() =&gt; {<\/strong>\n\n<strong>        time = Date.now();<\/strong>\n\n<strong>    }, 1000);<\/strong>\n\n<strong>&lt;\/script&gt;<\/strong>\n\n<strong>&lt;style&gt;<\/strong>\n\n<strong>    #title {<\/strong>\n\n<strong>        background-color: #ff0000;<\/strong>\n<strong>        color: #ffffff;<\/strong>\n\n<strong>    }<\/strong>\n\n<strong>&lt;\/style&gt;<\/strong>\n\n<strong>&lt;div&gt;<\/strong>\n<strong>    &lt;h1 id=\"title\"&gt;\u30bf\u30a4\u30c8\u30eb\u3067\u3059&lt;\/h1&gt;<\/strong>\n<strong>    &lt;div&gt;{time}&lt;\/div&gt;<\/strong>\n<strong>&lt;\/div&gt;<\/strong><\/pre>\n<p>\u3067\u306f\u3001\u3053\u308c\u3092\u30d3\u30eb\u30c9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9996\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_2.png\" alt=\"\" width=\"240\" height=\"105\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u8272\u304c\u3064\u304d\u3001\u6642\u9593\u304c\u7d4c\u3064\u3054\u3068\u306b\u5185\u5bb9\u304c\u5909\u66f4\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001<code>{time}<\/code>\u3068\u306a\u3063\u3066\u3044\u308b\u90e8\u5206\u304c<code>let time;<\/code>\u306e\u4e2d\u8eab\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8868\u793a\u3057\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h1>CRUD\u3092\u5b9f\u88c5\u3059\u308b<\/h1>\n<p>\u3067\u306f\u7d9a\u3044\u3066\u3001<code>Svelte + Laravel<\/code>\u3067<code>CRUD<\/code>\uff08\u8ffd\u52a0\u30fb\u8868\u793a\u30fb\u5909\u66f4\u30fb\u524a\u9664\uff09\u3092\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>DB\u307e\u308f\u308a\u3092\u6e96\u5099\u3059\u308b<\/h2>\n<p>\u307e\u305a\u30e2\u30c7\u30eb\uff06\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u304c\u3001<code>Livewire<\/code>\u306e\u8a18\u4e8b\u3068\u540c\u3058\u3082\u306e\u3092\u4f7f\u3044\u307e\u3059\u3002\u8a73\u3057\u304f\u306f\u4ee5\u4e0b\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\ud83d\udcdd <strong>\u53c2\u8003\u30da\u30fc\u30b8\uff1a<\/strong>\u00a0<a href=\"https:\/\/blog.capilano-fw.com\/?p=9844#DB\" target=\"_blank\" rel=\"noopener\">Laravel + Livewire \u3067 CRUD \u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b \u301c \u3088\u308a\u30b7\u30f3\u30d7\u30eb\u3092\u6c42\u3081\u3066 \u301c\uff1aDB\u307e\u308f\u308a\u3092\u7528\u610f\u3059\u308b<\/a><\/p>\n<p>\u5b9f\u969b\u306e\u30c6\u30fc\u30d6\u30eb\u306f\u3053\u3046\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9848\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/11\/laravel_livewire_crud_2.png\" alt=\"\" width=\"575\" height=\"509\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/11\/laravel_livewire_crud_2.png 575w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/11\/laravel_livewire_crud_2-300x266.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/p>\n<h2>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u3064\u304f\u308b<\/h2>\n<p><code>Livewire<\/code>\u3068\u9055\u3044\u3001<code>ajax<\/code>\u306a\u3069\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan make:controller ArticleController<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u3001\u4e2d\u8eab\u3092\u6b21\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>app\/Http\/Controllers\/ArticleController.php<\/strong><\/p>\n<pre>&lt;?php\n\nnamespace App\\Http\\Controllers;\n\nuse App\\Models\\Article;\nuse Illuminate\\Http\\Request;\n\nclass ArticleController extends Controller\n{\n    <strong>public function index()<\/strong>\n<strong>    {<\/strong>\n<strong>        return view('article.index');<\/strong>\n<strong>    }<\/strong>\n\n<strong>    public function list()<\/strong>\n<strong>    {<\/strong>\n<strong>        return Article::select('id', 'title', 'content')-&gt;paginate(10);<\/strong>\n<strong>    }<\/strong>\n\n<strong>    public function store(Request $request)<\/strong>\n<strong>    {<\/strong>\n<strong>        \/\/ \u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306f\u7701\u7565\u3057\u3066\u307e\u3059<\/strong>\n\n<strong>        $article = new Article();<\/strong>\n<strong>        $article-&gt;fill($request-&gt;only(['title', 'content']));<\/strong>\n<strong>        $result = $article-&gt;save();<\/strong>\n\n<strong>        return ['result' =&gt; $result];<\/strong>\n<strong>    }<\/strong>\n\n<strong>    public function update(Article $article, Request $request)<\/strong>\n<strong>    {<\/strong>\n<strong>        \/\/ \u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306f\u7701\u7565\u3057\u3066\u307e\u3059<\/strong>\n\n<strong>        $article-&gt;fill($request-&gt;only(['title', 'content']));<\/strong>\n<strong>        $result = $article-&gt;save();<\/strong>\n\n<strong>        return ['result' =&gt; $result];<\/strong>\n<strong>    }<\/strong>\n\n<strong>    public function destroy(Article $article)<\/strong>\n<strong>    {<\/strong>\n<strong>        \/\/ \u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306f\u7701\u7565\u3057\u3066\u307e\u3059<\/strong>\n\n<strong>        $result = $article-&gt;delete();<\/strong>\n\n<strong>        return [ 'result' =&gt; $result];<\/strong>\n<strong>    }<\/strong>\n}<\/pre>\n<h2>\u30d3\u30e5\u30fc\u3092\u3064\u304f\u308b<\/h2>\n<p>\u5148\u307b\u3069\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306e\u4e2d\u3067\u30bb\u30c3\u30c8\u3057\u305f\u30d3\u30e5\u30fc\u3092\u3064\u304f\u308a\u307e\u3059\u3002<\/p>\n<p><strong>resources\/views\/article\/index.blade.php<\/strong><\/p>\n<pre><strong>&lt;html&gt;<\/strong>\n<strong>&lt;head&gt;<\/strong>\n<strong>    &lt;link href=\"https:\/\/unpkg.com\/tailwindcss@^2\/dist\/tailwind.min.css\" rel=\"stylesheet\"&gt;<\/strong>\n<strong>&lt;\/head&gt;<\/strong>\n<strong>&lt;body&gt;<\/strong>\n<strong>&lt;div id=\"app\" class=\"p-5\"&gt;&lt;\/div&gt;<\/strong>\n<strong>&lt;script src=\"{{ asset('js\/app.js') }}\"&gt;&lt;\/script&gt;<\/strong>\n<strong>&lt;\/body&gt;<\/strong>\n<strong>&lt;\/html&gt;<\/strong><\/pre>\n<h2>\u30eb\u30fc\u30c8\u3092\u3064\u304f\u308b<\/h2>\n<p>\u305d\u3057\u3066\u3001\u30eb\u30fc\u30c8\u3067\u3059\u3002<\/p>\n<p><strong>routes\/web.php<\/strong><\/p>\n<pre><strong>use App\\Http\\Controllers\\ArticleController;<\/strong>\n\n<strong>Route::get('article', [ArticleController::class, 'index']);<\/strong>\n<strong>Route::get('article\/list', [ArticleController::class, 'list']);<\/strong>\n<strong>Route::post('article', [ArticleController::class, 'store']);<\/strong>\n<strong>Route::put('article\/{article}', [ArticleController::class, 'update']);<\/strong>\n<strong>Route::delete('article\/{article}', [ArticleController::class, 'destroy']);<\/strong><\/pre>\n<h2>Svelte \u306e\u90e8\u5206\u3092\u3064\u304f\u308b<\/h2>\n<p>\u3067\u306f\u3001\u30e1\u30a4\u30f3\u306e<code>Svelte<\/code>\u90e8\u5206\u3067\u3059\u3002<br \/>\n\u4eca\u56de\u4f5c\u6210\u3059\u308b\u306e\u306f\u4ee5\u4e0b\uff13\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<ul>\n<li>App.svelte\uff1a \u30da\u30fc\u30b8\u306e\u57fa\u672c\u306b\u306a\u308b\u90e8\u5206\u3002\u3053\u306e\u4e2d\u304b\u3089\u4ee5\u4e0b\uff12\u3064\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u547c\u3073\u51fa\u3057\u307e\u3059<\/li>\n<li>ArticleList.svelte\uff1a \u8a18\u4e8b\u30c7\u30fc\u30bf\u306e\u4e00\u89a7\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u3092\u3064\u3051\u307e\u3059<\/li>\n<li>ArticleInput.svelte\uff1a \u767b\u9332\u30fb\u5909\u66f4\u3059\u308b\u305f\u3081\u306e\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3067\u3059<\/li>\n<\/ul>\n<p>\u3067\u306f\u3001\uff11\u3064\u305a\u3064\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><strong>resources\/js\/svelte\/components\/App.svelte<\/strong><\/p>\n<pre><strong>&lt;script&gt;<\/strong>\n\n<strong>    import ArticleList from \".\/article\/ArticleList.svelte\";<\/strong>\n<strong>    import ArticleInput from \".\/article\/ArticleInput.svelte\";<\/strong>\n\n<strong>    let params = {<\/strong>\n<strong>        id: '',<\/strong>\n<strong>        title: '',<\/strong>\n<strong>        content: ''<\/strong>\n<strong>    };<\/strong>\n<strong>    let articleList; \/\/ \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981<\/strong>\n\n<strong>    const onEdit = e =&gt; {<\/strong>\n\n<strong>        params = e.detail.article;<\/strong>\n\n<strong>    };<\/strong>\n\n<strong>&lt;\/script&gt;<\/strong>\n\n<strong>&lt;div&gt;<\/strong>\n<strong>    &lt;h1 class=\"text-3xl mb-4\"&gt;<\/strong>\n<strong>        Svelte \u306eCRUD\u30b5\u30f3\u30d7\u30eb<\/strong>\n<strong>    &lt;\/h1&gt;<\/strong>\n<strong>    &lt;div class=\"grid grid-cols-2 gap-7\"&gt;<\/strong>\n<strong>        &lt;div&gt;<\/strong>\n<strong>            &lt;ArticleList bind:this={articleList} on:article-edit={onEdit}&gt;&lt;\/ArticleList&gt;<\/strong>\n<strong>        &lt;\/div&gt;<\/strong>\n<strong>        &lt;div&gt;<\/strong>\n<strong>            &lt;ArticleInput params=\"{params}\" on:article-saved={articleList.getArticles}&gt;&lt;\/ArticleInput&gt;<\/strong>\n<strong>        &lt;\/div&gt;<\/strong>\n<strong>    &lt;\/div&gt;<\/strong>\n<strong>&lt;\/div&gt;<\/strong><\/pre>\n<p>\u3053\u306e\u4e2d\u3067<code>ArticleList<\/code>\u3068<code>ArticleInput<\/code>\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u91cd\u8981\u306a\u306e\u304c<code>bind:this={articleList}<\/code>\u306e\u90e8\u5206\u3067\u3001\u3053\u308c\u306f<code>ArticleList.svelte<\/code>\u5185\u306b\u3042\u308b\u30e1\u30bd\u30c3\u30c9<code>getArticles()<\/code>\u3092\u547c\u3073\u51fa\u3059\u305f\u3081\u306b\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\uff08<code>Svelte<\/code>\u304c\u521d\u898b\u306a\u306e\u3067\u3082\u3063\u3068\u30b9\u30de\u30fc\u30c8\u306a\u65b9\u6cd5\u304c\u3042\u308b\u306e\u304b\u3082\u30fb\u30fb\u30fb\ud83d\ude05\uff09<\/p>\n<p><strong>resources\/js\/svelte\/components\/article\/ArticleList.svelte<\/strong><\/p>\n<pre><strong>&lt;script&gt;<\/strong>\n\n<strong>    import { onMount, createEventDispatcher } from 'svelte';<\/strong>\n\n<strong>    const dispatch = createEventDispatcher();<\/strong>\n<strong>    let articles = [];<\/strong>\n<strong>    let page = 1;<\/strong>\n<strong>    let hasPrevPage = false;<\/strong>\n<strong>    let hasNextPage = false;<\/strong>\n\n<strong>    export const getArticles = () =&gt; {<\/strong>\n\n<strong>        const url = `\/article\/list?page=${page}`;<\/strong>\n<strong>        axios.get(url)<\/strong>\n<strong>            .then(response =&gt; {<\/strong>\n\n<strong>                articles = response.data.data;<\/strong>\n<strong>                hasPrevPage = response.data.prev_page_url !== null;<\/strong>\n<strong>                hasNextPage = response.data.next_page_url !== null;<\/strong>\n\n<strong>            });<\/strong>\n\n<strong>    };<\/strong>\n<strong>    const onEdit = article =&gt; {<\/strong>\n\n<strong>        dispatch('article-edit', { article: article });<\/strong>\n\n<strong>    };<\/strong>\n<strong>    const onDelete = article =&gt; {<\/strong>\n\n<strong>        if(confirm('\u524a\u9664\u3057\u307e\u3059\u3002\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f')) {<\/strong>\n\n<strong>            const url = `\/article\/${article.id}`;<\/strong>\n<strong>            axios.delete(url)<\/strong>\n<strong>                .then(response =&gt; {<\/strong>\n\n<strong>                    if(response.data.result === true) {<\/strong>\n\n<strong>                        getArticles();<\/strong>\n\n<strong>                    }<\/strong>\n\n<strong>                });<\/strong>\n\n<strong>        }<\/strong>\n\n<strong>    }<\/strong>\n<strong>    const onMovePage = mode =&gt; {<\/strong>\n\n<strong>        if(mode === 'next') {<\/strong>\n\n<strong>            page++;<\/strong>\n\n<strong>        } else if(mode === 'prev') {<\/strong>\n\n<strong>            page--;<\/strong>\n\n<strong>        }<\/strong>\n\n<strong>        getArticles();<\/strong>\n\n<strong>    }<\/strong>\n\n<strong>    onMount(() =&gt; {<\/strong>\n\n<strong>        getArticles();<\/strong>\n\n<strong>    });<\/strong>\n\n<strong>&lt;\/script&gt;<\/strong>\n\n<strong>&lt;div&gt;<\/strong>\n<strong>    &lt;div class=\"pb-4 text-sm\"&gt;<\/strong>\n<strong>        \uff08ArticleList\uff09<\/strong>\n<strong>    &lt;\/div&gt;<\/strong>\n<strong>    &lt;table class=\"w-full text-sm mb-5\"&gt;<\/strong>\n<strong>        &lt;thead&gt;<\/strong>\n<strong>        &lt;tr&gt;<\/strong>\n<strong>            &lt;th class=\"border p-2\"&gt;\u30bf\u30a4\u30c8\u30eb&lt;\/th&gt;<\/strong>\n<strong>            &lt;th class=\"border p-2\"&gt;\u672c\u6587&lt;\/th&gt;<\/strong>\n<strong>            &lt;th class=\"border p-2\"&gt;\u64cd\u4f5c&lt;\/th&gt;<\/strong>\n<strong>        &lt;\/tr&gt;<\/strong>\n<strong>        &lt;\/thead&gt;<\/strong>\n<strong>        &lt;tbody&gt;<\/strong>\n<strong>        {#each articles as article}<\/strong>\n<strong>        &lt;tr&gt;<\/strong>\n<strong>            &lt;td class=\"border px-2 py-1\"&gt;{article.title}&lt;\/td&gt;<\/strong>\n<strong>            &lt;td class=\"border px-2 py-1\"&gt;{article.content}&lt;\/td&gt;<\/strong>\n<strong>            &lt;td class=\"border px-2 py-1 text-right\"&gt;<\/strong>\n<strong>                &lt;button<\/strong>\n<strong>                    type=\"button\"<\/strong>\n<strong>                    class=\"bg-yellow-500 text-yellow-50 rounded p-2 text-xs\" on:click={onEdit(article)}&gt;<\/strong>\n<strong>                    \u5909\u66f4<\/strong>\n<strong>                &lt;\/button&gt;<\/strong>\n<strong>                &lt;button<\/strong>\n<strong>                    type=\"button\"<\/strong>\n<strong>                    class=\"bg-red-600 text-red-50 rounded p-2 text-xs\" on:click={onDelete(article)}&gt;<\/strong>\n<strong>                    \u524a\u9664<\/strong>\n<strong>                &lt;\/button&gt;<\/strong>\n<strong>            &lt;\/td&gt;<\/strong>\n<strong>        &lt;\/tr&gt;<\/strong>\n<strong>        {\/each}<\/strong>\n<strong>        &lt;\/tbody&gt;<\/strong>\n<strong>    &lt;\/table&gt;<\/strong>\n\n<strong>    {#if hasPrevPage === true}<\/strong>\n<strong>        &lt;button<\/strong>\n<strong>            type=\"button\"<\/strong>\n<strong>            class=\"bg-blue-500 text-blue-50 rounded p-2 text-xs\" on:click={() =&gt; onMovePage('prev')}&gt;<\/strong>\n<strong>            \u524d\u3078<\/strong>\n<strong>        &lt;\/button&gt;<\/strong>\n<strong>    {\/if}<\/strong>\n<strong>    {#if hasNextPage === true}<\/strong>\n<strong>        &lt;button<\/strong>\n<strong>            type=\"button\"<\/strong>\n<strong>            class=\"bg-blue-500 text-blue-50 rounded p-2 text-xs\" on:click={() =&gt; onMovePage('next')}&gt;<\/strong>\n<strong>            \u6b21\u3078<\/strong>\n<strong>        &lt;\/button&gt;<\/strong>\n<strong>    {\/if}<\/strong>\n\n<strong>&lt;\/div&gt;<\/strong><\/pre>\n<p>\u3053\u306e\u4e2d\u3067\u91cd\u8981\u306a\u306e\u306f\u3001\u300c<strong>\u72ec\u81ea\u30a4\u30d9\u30f3\u30c8<\/strong>\u300d\u3092\u7528\u610f\u3057\u3066\u3044\u308b\u90e8\u5206\u3067\u3059\u3002<br \/>\n\u30a4\u30d9\u30f3\u30c8\u3092\u7528\u610f\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a4\u30d9\u30f3\u30c8\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u3057\u3001<\/p>\n<pre><strong>const dispatch = createEventDispatcher();<\/strong><\/pre>\n<p>\u305d\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002\uff08<code>article-edit<\/code>\u304c\u30a4\u30d9\u30f3\u30c8\u540d\u3001\u305d\u3057\u3066\u7b2c\uff12\u5f15\u6570\u306f\u9001\u4fe1\u3059\u308b\u30c7\u30fc\u30bf\u3067\u3059\uff09<\/p>\n<pre><strong>dispatch('article-edit', { article: article });<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001\u547c\u3073\u51fa\u3057\u5143\u3067\u3042\u308b<code>App.svelte<\/code>\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a4\u30d9\u30f3\u30c8\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>ArticleList bind:this={articleList} <strong>on:article-edit={onEdit}<\/strong>&gt;&lt;\/ArticleList&gt;<\/pre>\n<p><strong>resources\/js\/svelte\/components\/article\/ArticleInput.svelte<\/strong><\/p>\n<pre><strong>&lt;script&gt;<\/strong>\n\n<strong>    import { createEventDispatcher } from 'svelte';<\/strong>\n\n<strong>    const dispatch = createEventDispatcher();<\/strong>\n<strong>    export let params = { \/\/ \u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b props \u5316<\/strong>\n<strong>        id: '',<\/strong>\n<strong>        title: '',<\/strong>\n<strong>        content: '',<\/strong>\n<strong>    };<\/strong>\n<strong>    let resultMessage = '';<\/strong>\n<strong>    let isModeCreate = false;<\/strong>\n<strong>    let isModeEdit = false;<\/strong>\n\n<strong>    \/\/ Vue \u3067\u8a00\u3046\u3068\u3053\u308d\u306e computed<\/strong>\n<strong>    $: {<\/strong>\n<strong>        isModeCreate = (params.id === '');<\/strong>\n<strong>        isModeEdit = (params.id !== '');<\/strong>\n<strong>    }<\/strong>\n\n<strong>    const onSubmit = () =&gt; {<\/strong>\n\n<strong>        if(confirm('\u9001\u4fe1\u3057\u307e\u3059\u3002\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f')) {<\/strong>\n\n<strong>            let url = '';<\/strong>\n<strong>            let additionalParams = {};<\/strong>\n\n<strong>            if(isModeCreate) {<\/strong>\n\n<strong>                url = '\/article';<\/strong>\n\n<strong>            } else if(isModeEdit) {<\/strong>\n\n<strong>                url = `\/article\/${params.id}`;<\/strong>\n<strong>                additionalParams = { _method: 'PUT' };<\/strong>\n\n<strong>            }<\/strong>\n\n<strong>            const data = Object.assign({}, params, additionalParams);<\/strong>\n\n<strong>            axios.post(url, data)<\/strong>\n<strong>                .then(response =&gt; {<\/strong>\n\n<strong>                    if(response.data.result === true) {<\/strong>\n\n<strong>                        dispatch('article-saved');<\/strong>\n\n<strong>                        resultMessage = '\u4fdd\u5b58\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\uff01';<\/strong>\n\n<strong>                        setTimeout(() =&gt; { \/\/ 3 \u79d2\u5f8c\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30af\u30ea\u30a2<\/strong>\n<strong>                            resultMessage = '';<\/strong>\n<strong>                        }, 3000);<\/strong>\n\n<strong>                        params = {<\/strong>\n<strong>                            id: '',<\/strong>\n<strong>                            title: '',<\/strong>\n<strong>                            content: '',<\/strong>\n<strong>                        };<\/strong>\n\n<strong>                    }<\/strong>\n\n<strong>                });<\/strong>\n\n<strong>        }<\/strong>\n\n<strong>    }<\/strong>\n\n<strong>&lt;\/script&gt;<\/strong>\n\n<strong>&lt;div&gt;<\/strong>\n<strong>    &lt;div class=\"pb-4 text-sm\"&gt;<\/strong>\n<strong>        \uff08ArticleInput\uff09<\/strong>\n<strong>    &lt;\/div&gt;<\/strong>\n<strong>    &lt;div&gt;<\/strong>\n<strong>        {#if resultMessage !== ''}<\/strong>\n<strong>            &lt;div class=\"text-green-700 p-3 bg-green-300 rounded mb-3\"&gt;<\/strong>\n<strong>                {resultMessage}<\/strong>\n<strong>            &lt;\/div&gt;<\/strong>\n<strong>        {\/if}<\/strong>\n<strong>    &lt;\/div&gt;<\/strong>\n<strong>    &lt;div class=\"mb-3\"&gt;<\/strong>\n<strong>        &lt;label for=\"title\"&gt;\u30bf\u30a4\u30c8\u30eb&lt;\/label&gt;<\/strong>\n<strong>        &lt;br&gt;<\/strong>\n<strong>        &lt;input id=\"title\" type=\"text\" class=\"border w-full p-1\" bind:value=\"{params.title}\"&gt;<\/strong>\n<strong>    &lt;\/div&gt;<\/strong>\n<strong>    &lt;div class=\"mb-4\"&gt;<\/strong>\n<strong>        &lt;label for=\"content\"&gt;\u672c\u6587&lt;\/label&gt;<\/strong>\n<strong>        &lt;br&gt;<\/strong>\n<strong>        &lt;textarea id=\"content\" rows=\"7\" class=\"border w-full p-1\" bind:value=\"{params.content}\"&gt;&lt;\/textarea&gt;<\/strong>\n<strong>    &lt;\/div&gt;<\/strong>\n<strong>    {#if isModeCreate}<\/strong>\n<strong>        &lt;button type=\"submit\" class=\"bg-purple-700 text-purple-50 p-2 rounded\" on:click={onSubmit}&gt;\u767b\u9332\u3059\u308b&lt;\/button&gt;<\/strong>\n<strong>    {:else if isModeEdit}<\/strong>\n<strong>        &lt;button type=\"submit\" class=\"bg-blue-700 text-blue-50 p-2 rounded\" on:click={onSubmit}&gt;\u5909\u66f4\u3059\u308b&lt;\/button&gt;<\/strong>\n<strong>    {\/if}<\/strong>\n<strong>&lt;\/div&gt;<\/strong><\/pre>\n<p>\u3053\u306e\u4e2d\u3067\u91cd\u8981\u306a\u306e\u304c\u3001\u4ee5\u4e0b\u306e<code>params<\/code>\u3092\u30bb\u30c3\u30c8\u3057\u3066\u3044\u308b\u90e8\u5206\u3067\u3059\u3002<\/p>\n<pre><strong>export let params = {<\/strong>\n<strong>    id: '',<\/strong>\n<strong>    title: '',<\/strong>\n<strong>    content: '',<\/strong>\n<strong>};<\/strong><\/pre>\n<p>\u3053\u3053\u306b\u306f<code>export<\/code>\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u89aa\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3042\u308b<code>App.svelte<\/code>\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>params<\/code>\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304a\u3051\u3070\u3001\u3069\u3053\u304b\u3089\u3067\u3082\u5b50\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3042\u308b<code>ArticleInput<\/code>\u5185\u306e<code>params<\/code>\u3092\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>&lt;ArticleInput <strong>params=\"{params}\"<\/strong> on:article-saved={articleList.getArticles}&gt;&lt;\/ArticleInput&gt;<\/pre>\n<p>\ud83d\udc47\u3069\u3053\u304b\u3089\u3067\u3082<code>params<\/code>\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059<\/p>\n<pre>const onEdit = e =&gt; {\n\n    <strong>params = e.detail.article; \/\/ \u5b50\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u5185\u5bb9\u304c\u5909\u66f4\u306b\u306a\u308b<\/strong>\n\n};<\/pre>\n<h1>\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b<\/h1>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u2757<br \/>\n\u307e\u305a\u306f\u30d6\u30e9\u30a6\u30b6\u3067\u300c<strong>https:\/\/******\/article<\/strong>\u300d\u3078\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10000\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_3.png\" alt=\"\" width=\"640\" height=\"356\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_3.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_3-300x167.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u306f\u3044\u2757<\/p>\n<p>\u3061\u3087\u3063\u3068\u753b\u50cf\u304c\u5c0f\u3055\u3044\u3067\u3059\u304c\u3001<code>ArticleList<\/code>\u3068<code>ArticleInput<\/code>\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u306e\u300c<strong>\u6b21\u3078<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10002\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_4.png\" alt=\"\" width=\"67\" height=\"53\" \/><\/p>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10003\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_5.png\" alt=\"\" width=\"640\" height=\"585\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_5.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_5-300x274.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\uff12\u30da\u30fc\u30b8\u76ee\u306e\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u2757<br \/>\n\u3067\u306f\u3001\u6b21\u306b\u30d5\u30a9\u30fc\u30e0\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3001\u65b0\u898f\u767b\u9332\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10004\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_6.png\" alt=\"\" width=\"431\" height=\"348\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_6.png 431w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_6-300x242.png 300w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/p>\n<p>\u3069\u3046\u306a\u3063\u305f\u3067\u3057\u3087\u3046\u304b\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\uff1f\uff1f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10005\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_7.png\" alt=\"\" width=\"640\" height=\"105\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_7.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_7-300x49.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u304c\u4e00\u89a7\u306b\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u5909\u66f4\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10006\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_8.png\" alt=\"\" width=\"52\" height=\"41\" \/><\/p>\n<p>\u3059\u308b\u3068\u3001\u7a7a\u306e\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u306b\u767b\u9332\u5185\u5bb9\u304c\u30bb\u30c3\u30c8\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10007\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_9.png\" alt=\"\" width=\"298\" height=\"219\" \/><\/p>\n<p>\u3067\u306f\u3001\u5185\u5bb9\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u3066\u4fdd\u5b58\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10008\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_10.png\" alt=\"\" width=\"409\" height=\"347\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_10.png 409w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_10-300x255.png 300w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><\/p>\n<p>\u3069\u3046\u306a\u308b\u3067\u3057\u3087\u3046\u304b\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\uff1f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10009\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_11.png\" alt=\"\" width=\"640\" height=\"100\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_11.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_11-300x47.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u5185\u5bb9\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u6700\u5f8c\u306b\u524a\u9664\u3067\u3059\u3002<br \/>\n\u5206\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u30da\u30fc\u30b8\u3092\uff11\u30da\u30fc\u30b8\u307e\u3067\u623b\u3057\u3066\uff13\u884c\u76ee\u306e\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10010\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_12.png\" alt=\"\" width=\"640\" height=\"272\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_12.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_12-300x128.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10011\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_13.png\" alt=\"\" width=\"661\" height=\"238\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_13.png 661w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/01\/laravel_svelte_13-300x108.png 300w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u300c<strong>\u30bf\u30a4\u30c8\u30eb\uff13<\/strong>\u300d\u306e\u30c7\u30fc\u30bf\u304c\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3059\u3079\u3066\u6210\u529f\u3067\u3059\u3002\ud83d\ude04\u2728<\/p>\n<h1>\u4f01\u696d\u69d8\u3078\u306e\u3054\u63d0\u6848<\/h1>\n<p>\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305f\u3088\u3046\u306b<code>Svelte<\/code>\u306f<code>Laravel<\/code>\u3068\u9023\u643a\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057<code>Laravel + Svelte<\/code>\u306e\u958b\u767a\u3092\u3054\u5e0c\u671b\u3067\u3057\u305f\u3089\u305c\u3072\u304a\u554f\u3044\u5408\u308f\u305b\u3088\u308a\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\u3002m(_ _)m<\/p>\n<h1>\u3061\u306a\u307f\u306b\uff1a \u4f7f\u3063\u3066\u307f\u305f\u611f\u60f3<\/h1>\n<p>\u3061\u306a\u307f\u306b<code>Svelte<\/code>\u3092\u4f7f\u3063\u3066\u307f\u305f\u611f\u60f3\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u5b8c\u5168\u306b\u300c<strong>\u500b\u4eba\u306e\u611f\u60f3\u3067\u3059<\/strong>\u300d\u3068\u3044\u3046\u3084\u3064\u3067\u3059\u304c\u3001\u3082\u3057\u826f\u3051\u308c\u3070\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u4eca\u56de\u521d\u898b\u306a\u306e\u3067\u3001\u3082\u3063\u3068\u30b9\u30de\u30fc\u30c8\u306a\u66f8\u304d\u65b9\u304c\u3042\u308b\u304b\u3082\u3067\u3059\u304c\u3001\u305d\u306e\u5834\u5408\u306f\u305c\u3072\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002m(_ _)m\uff09<\/p>\n<h2>\u3044\u3044\u306a\u3068\u601d\u3063\u305f\u3068\u3053\u308d<\/h2>\n<ul>\n<li>\u53ef\u8aad\u6027\u304c\u3044\u3044<\/li>\n<li>$: \u3067\u4e00\u6c17\u306b\u30ea\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u5909\u6570\u3092\u3064\u304f\u308c\u308b\u306e\u306f\u826f\u3044<\/li>\n<li>Vue \u3068\u306e\u8a2d\u8a08\u601d\u60f3\u304c\u5171\u901a\u3059\u308b\u90e8\u5206\u304c\u3042\u308b\u306e\u3067\u79fb\u884c\u3057\u3084\u3059\u3044<\/li>\n<li>\u30cd\u30a4\u30c6\u30a3\u30d6\u306a JavaScript \u3063\u307d\u304f\u66f8\u3051\u308b\u306e\u3067\u3001\u3088\u304f\u3042\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u300c\u304f\u305b\u300d\u306f\u5c11\u306a\u3044<\/li>\n<li>Vue \u3067\u306f\u3088\u304f\u4f7f\u3046 this \u304c\u4e0d\u8981<\/li>\n<li>\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u60f3\u5b9a\u3057\u3066\u305f\u3088\u308a\u3082\u9ad8\u901f\u3060\u3063\u305f<\/li>\n<\/ul>\n<h2>\u6c17\u306b\u306a\u3063\u305f\u3068\u3053\u308d<\/h2>\n<ul>\n<li>Laravel\u3068\u306e\u9023\u643a\u304c\u305d\u3053\u307e\u3067\u30b7\u30f3\u30d7\u30eb\u306b\u306f\u611f\u3058\u306a\u304b\u3063\u305f<\/li>\n<li>Blade \u306e\u3088\u3046\u306b PHP \u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u57cb\u3081\u8fbc\u3081\u306a\u3044<\/li>\n<li>\u30a4\u30d9\u30f3\u30c8\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u3064\u3051\u308b\u5834\u5408\u3001\u300c() =&gt; onTest(&#8216;parameter&#8217;)\u300d\u3068\u3044\u3046\u3088\u3046\u306b\u66f8\u304b\u306a\u3044\u3068\u3044\u3051\u306a\u3044<\/li>\n<li>\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u306f\u81ea\u4f5c\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\uff08Livewire \u3060\u3068\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\uff09<\/li>\n<li>\u3046\u30fc\u3093\u3001\u3067\u3082\u3084\u3063\u3071\u308a\u6bce\u56de\u30d3\u30eb\u30c9\u3059\u308b\u306e\u306f\u597d\u304d\u3058\u3083\u306a\u3044\u2026<\/li>\n<li>\u30da\u30fc\u30b8\u79fb\u52d5\u90e8\u5206\u306f Svelte \u5074\u306b\u66f8\u304f\u304b\u3001Laravel \u5074\u306e route \u3092\u4f7f\u3046\u304b\u306e\uff12\u629e\u3067\u3059\u304c\u3001\u3069\u3061\u3089\u306b\u3057\u3066\u3082\u5c11\u3057\u5de5\u592b\u304c\u5fc5\u8981\uff08\u500b\u4eba\u7684\u306b\u306f SPA \u7684\u306b\u306f\u3057\u305f\u304f\u306a\u3044\u3093\u3067\u3059\u3088\u306d\u2026\uff09<\/li>\n<\/ul>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<code>Laravel + Svelte<\/code>\u306e\u4f7f\u3044\u65b9\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u500b\u4eba\u7684\u306b\u306f\u3001\u300c<strong>\u305d\u3053\u307e\u3067\u30b7\u30f3\u30d7\u30eb\u3067\u306f\u306a\u3044\u304b\u306a\ud83d\ude23<\/strong>\u300d\u3068\u3044\u3046\u7d50\u8ad6\u306b\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u30c6\u30fc\u30de\u3068\u3057\u3066\u306f\u5c11\u3057\u6b8b\u5ff5\u306a\u7d50\u679c\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u305f\u3060\u3001<code>Laravel<\/code>\u3068\u306e\u9023\u643a\u304c\u305d\u308c\u307b\u3069\u30b7\u30f3\u30d7\u30eb\u3067\u306f\u306a\u3044\u3060\u3051\u3067\u3001<code>Svelte<\/code>\u81ea\u4f53\u306f\u30b7\u30f3\u30d7\u30eb\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002\uff08\u65b0\u3057\u3044\u30a2\u30d7\u30ed\u30fc\u30c1\u3082\u7d20\u6674\u3089\u3057\u3044\u3067\u3059\u3088\u306d\ud83d\udc4d\uff09<\/p>\n<p>\u306a\u304a\u3001\u3053\u306e\u8fba\u308a\u306f\u500b\u4eba\u306e\u597d\u307f\u3067\u9055\u3046\u3068\u601d\u3046\u306e\u3067\u3001\u305c\u3072\u7686\u3055\u3093\u81ea\u8eab\u3067\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\u2757<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3467\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_9.png\" alt=\"\" width=\"216\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_9.png 216w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_9-203x300.png 203w\" sizes=\"auto, (max-width: 216px) 100vw, 216px\" \/><br \/>\n\u300c\u4e45\u77f3\u8b72\u3055\u3093\u304c\u3064\u304f\u3063\u305f<br \/>\n\u5929\u5916\u9b54\u5883\u2161\u306e\u66f2\u3001\u3044\u3044\u3067\u3059\u306d\u2757\u300d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u4ee5\u524d\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u4e8b\u3092\u304a\u5c4a\u3051\u3057\u307e\u3057\u305f\u3002 \ud83d\udcdd \u904e\u53bb\u8a18\u4e8b\uff1a Laravel + Livewire \u3067 CRUD \u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b \u301c \u3088\u308a\u30b7\u30f3 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=9987\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Laravel \u3067 Svelte \u3092\u4f7f\u3046 \u301c \u3088\u308a\u30b7\u30f3\u30d7\u30eb\u3092\u6c42\u3081\u3066\uff12 \u301c&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":10017,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[242],"class_list":["post-9987","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","tag-svelte"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/9987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9987"}],"version-history":[{"count":16,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/9987\/revisions"}],"predecessor-version":[{"id":10022,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/9987\/revisions\/10022"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/10017"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}