{"id":5703,"date":"2020-01-21T04:29:06","date_gmt":"2020-01-20T19:29:06","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=5703"},"modified":"2020-01-21T16:48:57","modified_gmt":"2020-01-21T07:48:57","slug":"mustache-js-%e3%81%abextends%e6%a9%9f%e8%83%bd%e3%82%92%e3%81%a4%e3%81%91%e3%81%a6%e3%83%91%e3%83%83%e3%82%b1%e3%83%bc%e3%82%b8%e3%82%92%e5%85%ac%e9%96%8b%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%ef%bc%81","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=5703","title":{"rendered":"mustache.js \u306bExtends\u6a5f\u80fd\u3092\u3064\u3051\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u516c\u958b\u3057\u307e\u3057\u305f\uff01"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u73fe\u5728<code>Node.js<\/code>\u306e\u958b\u767a\u304c\u697d\u3057\u304f\u306a\u3063\u3066\u304d\u3066\u3044\u308b\u3068\u3053\u308d\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\uff08\u3042\u307e\u308a\u6709\u76ca\u3067\u306f\u306a\u3044\u3068\u308f\u304b\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\uff09\u3069\u3046\u3057\u3066\u3082\u30e1\u30a4\u30f3\u3067\u4f7f\u3063\u3066\u3044\u308b<code>Laravel<\/code>\u3068\u6bd4\u8f03\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u591a\u3005\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u306e\u5ea6\u306b\u3044\u304b\u306b<code>Laravel<\/code>\u304c\u30b9\u30d4\u30fc\u30c7\u30a3\u30fc\u306a\u958b\u767a\u304c\u3067\u304d\u308b\u3088\u3046\u8a2d\u8a08\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u5b9f\u611f\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306f<code>Node.js<\/code>\u306e\u9ad8\u901f\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u4f7f\u3046\u3053\u3068\u304c\u76ee\u7684\u3067\u3001\u305d\u3046\u3082\u8a00\u3063\u3066\u3044\u3089\u308c\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u300c\u3053\u306e\u6a5f\u80fd\u306f\u7121\u3044\u30fb\u30fb\u30fb\u306a\u3089\u81ea\u524d\u3067\u3064\u304f\u308c\u3070\u3044\u3044\uff08\u307a\u3053\u3071\u98a8\uff09\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u524d\u5411\u304d\u306b\u8003\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u30bf\u30a4\u30c8\u30eb\u306b\u3082\u3042\u308b\u3068\u304a\u308a\u3001<code>Node.js<\/code>\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30fb\u30d1\u30c3\u30b1\u30fc\u30b8\u300c<strong>mustache.js<\/strong>\u300d\u306b\u7d99\u627f\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u305f\u300c<strong>grown-mustache<\/strong>\u300d\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u3064\u304f\u3063\u3066\u307f\u307e\u3057\u305f\u3002\uff08<a href=\"https:\/\/www.npmjs.com\/package\/grown-mustache\" target=\"_blank\" rel=\"noopener noreferrer\">npm\u306e\u8a73\u7d30\u30da\u30fc\u30b8\u306f\u3053\u3061\u3089<\/a>\uff09<\/p>\n<p>\u4eca\u56de\u306f\u305d\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u306e\u304a\u5f79\u306b\u7acb\u3066\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\ud83d\ude0a\u2728<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3405 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_18.png\" alt=\"\" width=\"310\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_18.png 310w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_18-291x300.png 291w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/p>\n<p>\u958b\u767a\u74b0\u5883\uff1a Node 8.10<\/p>\n<h1>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u7d99\u627f\u6a5f\u80fd\u3068\u306f\uff1f<\/h1>\n<p>\u3053\u308c\u3082<code>Laravel<\/code>\u7531\u6765\u306e\u8a71\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u304c\u3001<code>Laravel<\/code>\u304c\u6a19\u6e96\u3067\u4f7f\u3063\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30fb\u30a8\u30f3\u30b8\u30f3\u300c<strong>Blade<\/strong>\u300d\u3067\u306f\u3042\u308b\u7279\u5b9a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u57fa\u672c\u3068\u3057\u3066\u30bb\u30af\u30b7\u30e7\u30f3\u3054\u3068\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u632f\u308a\u5206\u3051\u308b\u3068\u3044\u3046\u6a5f\u80fd\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n<p>\u307e\u305a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u300c<strong>\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u5927\u67a0\u3092\u6c7a\u3081\u308b<\/strong>\u300d\u30ec\u30a4\u30a2\u30a6\u30c8\u30fb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre>&lt;html&gt;\r\n&lt;head&gt;\r\n    &lt;!-- \u30bf\u30a4\u30c8\u30eb\u30fb\u30bb\u30af\u30b7\u30e7\u30f3 --&gt;\r\n    <strong>@yield('title')<\/strong>\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;div id=\"app\"&gt;\r\n    &lt;!-- \u30b3\u30f3\u30c6\u30f3\u30c4\u30fb\u30bb\u30af\u30b7\u30e7\u30f3 --&gt;\r\n    <strong>@yield('content')<\/strong>\r\n&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u3053\u306e\u4e2d\u306e<code>@yield('*****')<\/code>\u3068\u3044\u3046\u90e8\u5206\u304c\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u30e1\u30a4\u30f3\u306b\u306a\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3053\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><strong>@extends('layouts\/app')<\/strong>\r\n\r\n<strong>@section('title')<\/strong>\r\n\r\n    &lt;title&gt;\u30c6\u30b9\u30c8\u30bf\u30a4\u30c8\u30eb&lt;\/title&gt;\r\n\r\n<strong>@stop<\/strong>\r\n\r\n<strong>@section('content')<\/strong>\r\n\r\n    &lt;h1&gt;\u30c6\u30b9\u30c8\u30fb\u30b3\u30f3\u30c6\u30f3\u30c4&lt;\/h1&gt;\r\n\r\n<strong>@stop<\/strong><\/pre>\n<p>\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u610f\u5473\u3068\u3057\u3066\u306f\u3001\u300c<strong>&#8220;layouts\/app&#8221; \u306e\u4e2d\u306b\u3042\u308b\u3001&#8221;title&#8221; \u3068 &#8220;content&#8221; \u306e\u4e2d\u8eab\u3092\u5165\u308c\u66ff\u3048\u308b<\/strong>\u300d\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308a\u3001\u7d50\u679c\u306f\u3053\u3046\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>&lt;html&gt;\r\n&lt;head&gt;\r\n\r\n    <strong>&lt;title&gt;\u30c6\u30b9\u30c8\u30bf\u30a4\u30c8\u30eb&lt;\/title&gt;\r\n<\/strong>\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;div id=\"app\"&gt;\r\n\r\n    <strong>&lt;h1&gt;\u30c6\u30b9\u30c8\u30fb\u30b3\u30f3\u30c6\u30f3\u30c4&lt;\/h1&gt;\r\n<\/strong>\r\n&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u305d\u3057\u3066\u300c\u306a\u305c\u3053\u306e\u7d99\u627f\u6a5f\u80fd\u304c\u4f7f\u3048\u308b\u3068\u3044\u3044\u306e\u304b\uff1f\u300d\u3067\u3059\u304c\u3001<\/p>\n<p><strong style=\"font-size: 35px;\">\u30b3\u30fc\u30c9\u91cf\u3092\u6e1b\u3089\u3059\u3053\u3068\u304c\u51fa\u6765\u308b<\/strong><\/p>\n<p>\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u304c\u4e00\u756a\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u9006\u306b\u7d99\u627f\u6a5f\u80fd\u304c\u4f7f\u3048\u306a\u3044\u3068\u3001\u3044\u3061\u3044\u3061 <code>&lt;html&gt;\u301c&lt;\/html&gt;<\/code>\u306a\u3069\u306e\u30bf\u30b0\u3092\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3082\u3057\u304f\u306f\u3001\u5171\u901a\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u3063\u3066\u8aad\u307f\u8fbc\u3080\u5f62\u3067\u3082\u5b9f\u88c5\u306f\u3067\u304d\u307e\u3059\u304c\u3001\u305d\u3046\u306a\u308b\u3068HTML\u30bf\u30b0\u306e\u958b\u59cb\u3068\u7d42\u4e86\u304c\u5225\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306b\u5165\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u306a\u308a\u3001<code>wordpress<\/code>\u306e\u6539\u9020\u306a\u3069\u306e\u3088\u3046\u306b\u4fdd\u5b88\u7ba1\u7406\u304c\u96e3\u3057\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u203b\u306a\u304a\u3001\u300cNode.js\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u7d99\u627f\u6a5f\u80fd\u3092\u4f7f\u3044\u305f\u3044\u306a\u3089Pug\u3092\u4f7f\u3048\u3088\uff01\u300d\u3068\u3044\u3046\u58f0\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5b9f\u306f\u3042\u306e<code>Python<\/code>\u98a8\u306b\u66f8\u304d\u65b9\u304c\u3042\u307e\u308a\u597d\u307f\u3067\u306f\u306a\u3044\u3093\u3067\u3059\u30fb\u30fb\u30fb\ud83d\ude05 \u3057\u304b\u3082\u3001\u30c7\u30b6\u30a4\u30ca\u30fc\u3055\u3093\u306b\u3082\u3042\u306e\u66f8\u304d\u65b9\u3092\u899a\u3048\u3066\u3082\u3089\u308f\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u3001\u4fdd\u5b88\u7ba1\u7406\u306b\u6d88\u6975\u7684\u306b\u306a\u308b\u3068\u601d\u3046\u3093\u3067\u3059\u3088\u306d\uff08\u5b9f\u969b\u306e\u3068\u3053\u308d\u306f\u3069\u3046\u3067\u3057\u3087\u3046\uff1f\uff1f\uff1f\uff09<\/p>\n<h1>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h1>\n<p><code>npm<\/code>\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u516c\u958b\u3057\u3066\u3044\u308b\u306e\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u4e00\u767a\u3067\u5b8c\u4e86\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>npm i --save grown-mustache<\/strong><\/pre>\n<h1>\u4f7f\u3044\u65b9<\/h1>\n<h2>\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<p>\u3053\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f<code>mustache.js<\/code>\u3092\u62e1\u5f35\u3057\u305f\u3082\u306e\u306a\u306e\u3067\u3001\u57fa\u672c\u7684\u306b\u306f<code>mustache.js<\/code>\u3068\u4f7f\u3044\u65b9\u306f\u540c\u3058\u3067\u3059\u3002<\/p>\n<pre><strong>const GrownMustache = require('grown-mustache');\r\n\r\nconst gm = new GrownMustache({\r\n    dir: '.\/views',   \/\/ \uff08\u7701\u7565\u53ef\uff09\u30d3\u30e5\u30fc\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\r\n    extension: 'mst'  \/\/ \uff08\u7701\u7565\u53ef\uff09\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u62e1\u5f35\u5b50\r\n});\r\n\r\ngm.render('index', {\r\n    message: 'Message'\r\n});<\/strong><\/pre>\n<h2>\u7d99\u627f\u6a5f\u80fd\u306e\u4f7f\u3044\u65b9<\/h2>\n<p>\u3067\u306f\u3001\u30e1\u30a4\u30f3\u306e\u7d99\u627f\u6a5f\u80fd\u3067\u3059\u3002\uff08\u3068\u3044\u3063\u3066\u3082\u3053\u3053\u306f<code>Laravel<\/code>\u306e<code>Blade<\/code>\u3068\u307b\u307c\u540c\u3058\u3067\u3059\uff09<\/p>\n<p>\u307e\u305a\u306f\u30ec\u30a4\u30a2\u30a6\u30c8\u30fb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300c<strong>layouts\/app.mst<\/strong>\u300d\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre>&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\"ja\"&gt;\r\n&lt;head&gt;\r\n    <strong>@yield('title')<\/strong>\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;div id=\"app\"&gt;\r\n    <strong>@yield('content')<\/strong>\r\n&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u305d\u3057\u3066\u3001\u30e1\u30a4\u30f3\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300c<strong>index.mst<\/strong>\u300d\u3067\u3059\u3002<\/p>\n<pre><strong>@extends('layouts\/app')<\/strong>\r\n\r\n@section('title')\r\n\r\n    &lt;title&gt;\u30c6\u30b9\u30c8\u30bf\u30a4\u30c8\u30eb&lt;\/title&gt;\r\n\r\n@stop\r\n\r\n@section('content')\r\n\r\n    &lt;h1&gt;\u30c6\u30b9\u30c8\u30fb\u30b3\u30f3\u30c6\u30f3\u30c4&lt;\/h1&gt;\r\n    &lt;div class=\"row\"&gt;\r\n        &lt;div class=\"col-12\"&gt;\r\n            <strong>{{ message }}<\/strong>\r\n        &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n\r\n@stop<\/pre>\n<p>\u203b\u3061\u306a\u307f\u306b\u3001\u3053\u306e\u4e2d\u306e<code>{{ message }}<\/code>\u306e\u90e8\u5206\u306f\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b<code>index.mst<\/code>\u3092\u4f7f\u3046\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre>const content = <strong>gm.render('index', {\r\n    message: '\u30c6\u30b9\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8'\r\n});<\/strong><\/pre>\n<h1>Express\u3067\u4f7f\u3046<\/h1>\n<p>\u300c<strong>GrownMustache.js<\/strong>\u300d\u306f\u3001<code>Node.js<\/code>\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300c<strong>Express<\/strong>\u300d\u3067\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u3061\u3089\u3082\u901a\u5e38\u306e<code>mustache<\/code>\u3068\u540c\u3058\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u3067OK\u3067\u3059\u3002<\/p>\n<pre><strong>const GrownMustache = require('grown-mustache');<\/strong>\r\n\r\n\/\/ Template\r\n<strong>app.engine('mst', GrownMustache.express((gm, path, options)=&gt; {\r\n\r\n  \/\/ \u3053\u3053\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u30bb\u30c3\u30c8\u3068\u304b\u304c\u3067\u304d\u307e\u3059\r\n  gm.set('new_key', 'new_value');\r\n  return gm;\r\n\r\n}));\r\napp.set('views', '.\/views');\r\napp.set('view engine', 'mst');<\/strong><\/pre>\n<p>\u3010\u8ffd\u8a18\uff1a2020.01.21\u3011<code>express<\/code>\u3092<code>express()<\/code>\u306b\u5909\u66f4\u3057\u3066\u3001<code>render()<\/code>\u306e\u524d\u306b\u5b9f\u884c\u3055\u308c\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\ud83d\ude0a<\/p>\n<p>\u305d\u3057\u3066\u3001\u30eb\u30fc\u30c8\u5185\u3067<code>res.render()<\/code>\u3067\u547c\u3073\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre>app.get('\/', (req, res) =&gt; {\r\n\r\n  <strong>res.render('index', {\r\n    message: '\u30c6\u30b9\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8'\r\n  });<\/strong>\r\n\r\n});<\/pre>\n<p>\u4ee5\u4e0a\u3067\u3059\ud83d\ude0a\u2728<\/p>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<code>mustache.js<\/code>\u3092\u62e1\u5f35\u3057\u305f\u72ec\u81ea\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b<code>Express<\/code>\u306b\u306f\u305d\u3082\u305d\u3082\u72ec\u81ea\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3082\u3057\u4eca\u56de\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u3088\u308a\u826f\u304f\u3057\u305f\u3044\u65b9\u306f<a href=\"https:\/\/expressjs.com\/en\/guide\/using-template-engines.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\uff08\u82f1\u8a9e\uff09<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305f\u3001\u3088\u308a\u9ad8\u901f\u8868\u793a\u3055\u305b\u308b\u305f\u3081\u306b\u3001\u5f53\u521d\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u81ea\u4f53\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u6a5f\u80fd\u3092\u3064\u3051\u3066\u3044\u307e\u3057\u305f\u304c\u3001<code>Express<\/code>\u306b\u306f\u30d3\u30e5\u30fc\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u3042\u308b\u3089\u3057\u3044\uff08\u305f\u3060\u3057\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001<code>production<\/code>\u74b0\u5883\u3060\u3051\u306e\u3088\u3046\u3067\u3059\uff09\u306e\u3067\u3001\u3042\u3048\u3066\u305d\u308c\u3089\u306e\u30b3\u30fc\u30c9\u306f\u524a\u9664\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u3082\u8272\u3005\u3068\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2596 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/14-2.png\" alt=\"\" width=\"370\" height=\"350\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/14-2.png 370w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/14-2-300x284.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u73fe\u5728Node.js\u306e\u958b\u767a\u304c\u697d\u3057\u304f\u306a\u3063\u3066\u304d\u3066\u3044\u308b\u3068\u3053\u308d\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\uff08\u3042\u307e\u308a\u6709\u76ca\u3067\u306f\u306a\u3044\u3068\u308f\u304b\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\uff09\u3069\u3046\u3057\u3066\u3082\u30e1\u30a4\u30f3\u3067\u4f7f\u3063\u3066\u3044\u308bLara &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=5703\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;mustache.js \u306bExtends\u6a5f\u80fd\u3092\u3064\u3051\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u516c\u958b\u3057\u307e\u3057\u305f\uff01&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":5705,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[201,203],"tags":[123],"class_list":["post-5703","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-express","category-node-js","tag-123"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/5703","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=5703"}],"version-history":[{"count":6,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/5703\/revisions"}],"predecessor-version":[{"id":5710,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/5703\/revisions\/5710"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/5705"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}