{"id":1292,"date":"2020-05-29T09:20:34","date_gmt":"2020-05-29T00:20:34","guid":{"rendered":"http:\/\/168.138.214.208\/?p=1292"},"modified":"2020-11-25T06:39:16","modified_gmt":"2020-11-24T21:39:16","slug":"post-1292","status":"publish","type":"post","link":"https:\/\/nobunobu1717.site\/?p=1292","title":{"rendered":"Ruby on Rails\u306b\u304a\u3051\u308bJavascript\u30d5\u30a1\u30a4\u30eb\u306e\u53d6\u308a\u6271\u3044(Rails6)"},"content":{"rendered":"<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">1<\/span> \u6982\u8981<\/a><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">2<\/span> \u8aac\u660e<\/a><\/li><li><a href=\"#i-3\"><span class=\"toc_number toc_depth_1\">3<\/span> \u307e\u3068\u3081<\/a><\/li><\/ul><\/div>\n<h2><span id=\"i\">\u6982\u8981<\/span><\/h2>\n<p>GW\u4e2d\u306b\u5b66\u3093\u3067\u3044\u305fRuby on Rails\u306b\u304a\u3051\u308b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306ejs\u306e\u8aad\u307f\u8fbc\u307f\u306e\u6271\u3044\u306b\u95a2\u3057\u3066\u306e\u30e1\u30e2\u3002<br \/>\nRails6\u304b\u3089JS\u5468\u308a\u306e\u53d6\u308a\u6271\u3044\u304c\u5927\u304d\u304f\u5909\u308f\u3063\u305f\u3088\u3046\u3067\u3001\u30b0\u30b0\u3063\u3066\u53c2\u8003\u306b\u3057\u305f\u8a18\u4e8b\u304c6\u3067\u306a\u3044\u5834\u5408\u306a\u3069\u306b\u6df7\u540c\u3057\u305f\u306e\u3067\u5fd8\u5099\u9332\u3068\u3057\u3066\u3002<br \/>\n\u4ee5\u524d\u306eRails\u306b\u95a2\u3057\u3066\u3082\u77e5\u3089\u305a\u3001\u61b6\u6e2c\u3082\u591a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u3042\u3057\u304b\u3089\u305a\u3002<\/p>\n<p>\u4e0b\u8a18\u3092\u4e2d\u5fc3\u306b\u8aac\u660e\u3002<br \/>\n1. Rails6\u306b\u304a\u3051\u308bjs\u306e\u4ed5\u7d44\u307f<br \/>\n2. \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u3067\u4f7f\u7528\u3059\u308bjs\u306e\u5b9a\u7fa9\u65b9\u6cd5<br \/>\n3. \u7279\u5b9a\u306e\u753b\u9762\u306a\u3069\u90e8\u5206\u7684\u306b\u4f7f\u7528\u3057\u305f\u3044js\u306e\u5b9a\u7fa9\u65b9\u6cd5<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"BFzzgCHieq\"><p><a href=\"https:\/\/nobunobu1717.site\/?p=1713\">\u30108\/5\u307e\u3067\u3011\u6280\u8853\u66f8\u306e\u96fb\u5b50\u66f8\u7c4d(Kindle)\u304c\u534a\u984d\u4ee5\u4e0b\u306e\u30bb\u30fc\u30eb\u4e2d\u3010\u73fe\u5f79\u30a8\u30f3\u30b8\u30cb\u30a2\u304b\u3089\u898b\u305f\u30aa\u30b9\u30b9\u30e1\u66f8\u7c4d\u3082\u7d39\u4ecb\u3011<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u30108\/5\u307e\u3067\u3011\u6280\u8853\u66f8\u306e\u96fb\u5b50\u66f8\u7c4d(Kindle)\u304c\u534a\u984d\u4ee5\u4e0b\u306e\u30bb\u30fc\u30eb\u4e2d\u3010\u73fe\u5f79\u30a8\u30f3\u30b8\u30cb\u30a2\u304b\u3089\u898b\u305f\u30aa\u30b9\u30b9\u30e1\u66f8\u7c4d\u3082\u7d39\u4ecb\u3011&#8221; &#8212; nobu blog\" src=\"https:\/\/nobunobu1717.site\/?p=1713&#038;embed=true#?secret=FAwsfM6KcX#?secret=BFzzgCHieq\" data-secret=\"BFzzgCHieq\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<div class=\"kattene\">\n    <div class=\"kattene__imgpart\"><a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/www.amazon.co.jp\/gp\/product\/B07QW41QCM\/ref=as_li_tl?ie=UTF8&camp=247&creative=1211&creativeASIN=B07QW41QCM&linkCode=as2&tag=nobu17171009-22&linkId=63191532924b3d4e659f6460e293fa0a\"><img width=\"160\" height=\"160\" loading=\"lazy\" src=\"https:\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&MarketPlace=JP&ASIN=B07QW41QCM&ServiceVersion=20070822&ID=AsinImage&WS=1&Format=_SL250_&tag=nobu17171009-22\" class=\"kattene__shadow\" ><\/a><\/div>\n    <div class=\"kattene__infopart\">\n      <div class=\"kattene__title\"><a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/www.amazon.co.jp\/gp\/product\/B07QW41QCM\/ref=as_li_tl?ie=UTF8&camp=247&creative=1211&creativeASIN=B07QW41QCM&linkCode=as2&tag=nobu17171009-22&linkId=63191532924b3d4e659f6460e293fa0a\">\u72ec\u7fd2Ruby on Rails<\/a><\/div>\n      <div class=\"kattene__description\"><\/div>\n      <div class=\"kattene__btns __one\"><div><a class=\"kattene__btn __orange\" target=\"_blank\" rel=\"noopener\" href=\"https:\/\/www.amazon.co.jp\/gp\/product\/B07QW41QCM\/ref=as_li_tl?ie=UTF8&camp=247&creative=1211&creativeASIN=B07QW41QCM&linkCode=as2&tag=nobu17171009-22&linkId=63191532924b3d4e659f6460e293fa0a\">Amazon<\/a><\/div><\/div><\/div><\/div>\n\n\t<p style=\"color:#666;margin-bottom:5px;\">\u30b9\u30dd\u30f3\u30b5\u30fc\u30ea\u30f3\u30af<\/p>\n\t<div class=\"middle-ad\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\n\n<h2><span id=\"i-2\">\u8aac\u660e<\/span><\/h2>\n<h3>\u6982\u5ff5<\/h3>\n<p>Rails\u3067\u306f\u57fa\u672c\u7684\u306bwebpack\u3067\u8907\u6570\u306ejs\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u51fa\u529b\u3059\u308b\u3002<br \/>\nwebpack\u306fVue\u306a\u3069\u306eSPA\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306a\u3069\u3067\u3082\u591a\u304f\u4f7f\u308f\u308c\u3066\u3044\u3066\u3001\u753b\u9762\u3084\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5358\u4f4d\u3067\u4f5c\u3063\u305fjs\u306a\u3069\u3092\u307e\u3068\u3081\u30661\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b\u3057\u3066\u3044\u308b\u3002<br \/>\n\u305d\u306e\u304a\u304b\u3052\u3067\u3001\u6614\u306eWEB\u30a2\u30d7\u30ea\u306e\u3088\u3046\u306bhtml\u3067script\u30bf\u30b0\u3067\u500b\u5225\u306bjs\u306e\u53c2\u7167\u3092\u8a18\u8f09\u3057\u306a\u304f\u3066\u3082\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305fjs\u3060\u3051\u3092\u53c2\u7167\u3057\u3066\u304a\u3051\u3070\u3088\u304f\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<h3>Rails6\u306b\u304a\u3051\u308b\u4f7f\u7528\u65b9\u6cd5<\/h3>\n<p>Rails6\u3067\u306f\u4e0b\u8a18\u306ejs\u306b\u53c2\u7167\u3092\u66f8\u304d\u8fbc\u3080\u4e8b\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u5bfe\u8c61\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u308b\u3002<br \/>\napp\/javascript\/packs\/application.js<\/p>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305fjs\u306f\u3001\u4e0b\u8a18\u306e\u30bf\u30b0\u30d8\u30eb\u30d1\u30fc\u3092\u8a18\u8f09\u3059\u308b\u4e8b\u3067script\u30bf\u30b0\u304c\u8a18\u8f09\u3055\u308c\u308b\u3002<\/p>\n<p><em>javascript_pack_tag<\/em><\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u5171\u901a\u30ec\u30a4\u30a2\u30a6\u30c8(\u203b)\u306b\u66f8\u304b\u308c\u3066\u3044\u3066\u3001\u5168\u3066\u306e\u30da\u30fc\u30b8\u306b\u3053\u308c\u304c\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\n\u203b:app\/views\/layout\/application.html.erb<\/p>\n<pre class=\"lang:default decode:true \">&lt;%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %&gt;<\/pre>\n<h3>\u30a2\u30d7\u30ea\u7528\u306ejs\u3092\u4ed5\u8fbc\u3080\u65b9\u6cd5<\/h3>\n<p>\u30a2\u30d7\u30ea\u3067js\u3092\u4f7f\u3046\u306b\u306f\u4e0b\u8a18\u306e\uff12\u7a2e\u985e\u306e\u65b9\u6cd5\u304c\u53ef\u80fd\u3060\u3068\u8003\u3048\u3089\u308c\u308b\u3002<br \/>\n\u65b9\u6cd5\uff11\uff1a\u5171\u901a\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u53c2\u7167\u3057\u305fjs\u3092\u5229\u7528\u3059\u308b<br \/>\n\u65b9\u6cd5\uff12\uff1a\u5404\u753b\u9762\u7528\u306bjs\u3092\u500b\u5225\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u5229\u7528\u3059\u308b<\/p>\n<p>\u65b9\u6cd5\uff11\u306f\u5168\u4f53\u3067\u4f7f\u7528\u3059\u308b\u3088\u3046\u306a\u6a5f\u80fd\u3001\u65b9\u6cd5\uff12\u306f\u5404\u753b\u9762\u56fa\u6709\u306e\u51e6\u7406\u3092\u8a18\u8f09\u3059\u308b\u306e\u306b\u9069\u3057\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u308b\u3002<br \/>\n\uff08\u65b9\u6cd5\uff12\u3067\u306f\u5404\u753b\u9762\u306e\u30dc\u30bf\u30f3\u306a\u3069\u306eUI\u30a4\u30d9\u30f3\u30c8\u306a\u3069\u3002\uff09<\/p>\n<h4>\u65b9\u6cd5\uff11\uff1a\u5171\u901a\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u53c2\u7167\u3057\u305fjs\u3092\u5229\u7528\u3059\u308b<\/h4>\n<p>\u30a2\u30d7\u30ea\u7528\u306b\u4f5c\u6210\u3057\u305fjs\u3092\u5148\u307b\u3069\u8aac\u660e\u3057\u305fapplication.js\u306b\u53c2\u7167\u3092\u8ffd\u52a0\u3059\u308b\u4e8b\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u5bfe\u8c61\u306b\u3059\u308b\u3002<br \/>\napp\/javascript\u4ee5\u4e0b\u306e\u4efb\u610f\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u3057\u304f\u306f\u76f4\u4e0b\u306bjs\u3092\u4f5c\u6210\u3059\u308b\u3002(packs\u4ee5\u4e0b\u306b\u4f5c\u3089\u306a\u3044\u4e8b\u3002)<\/p>\n<p>app\/javascript\/user\/sample.js<\/p>\n<pre class=\"lang:js decode:true \">window.onload = function () {\r\n  alert(\"hoge\");\r\n};\r\n<\/pre>\n<p>application.js\u306b\u4f5c\u6210\u3057\u305fjs\u306e\u53c2\u7167\u3092\u8ffd\u52a0\u3059\u308b\u3002<br \/>\nrequire('js\u30d5\u30a1\u30a4\u30eb\u540d')\u3067\u8ffd\u52a0<br \/>\n(\u30d1\u30b9\u306fapp\/javascript\u3092\u8d77\u70b9\u3068\u3057\u3066\u8a18\u8f09\u3002)<\/p>\n<pre class=\"lang:js decode:true \">\/\/ This file is automatically compiled by Webpack, along with any other files\r\n\/\/ present in this directory. You're encouraged to place your actual application logic in\r\n\/\/ a relevant structure within app\/javascript and only use these pack files to reference\r\n\/\/ that code so it'll be compiled.\r\n\r\nrequire(\"@rails\/ujs\").start()\r\nrequire(\"turbolinks\").start()\r\nrequire(\"@rails\/activestorage\").start()\r\nrequire(\"channels\")\r\n\r\n\/\/ \u8ffd\u52a0\r\nrequire ('user\/sample')\r\n\r\n\/\/ Uncomment to copy all static images under ..\/images to the output folder and reference\r\n\/\/ them with the image_pack_tag helper in views (e.g &lt;%= image_pack_tag 'rails.png' %&gt;)\r\n\/\/ or the `imagePath` JavaScript helper below.\r\n\/\/\r\n\/\/ const images = require.context('..\/images', true)\r\n\/\/ const imagePath = (name) =&gt; images(name, true)\r\n\r\n<\/pre>\n<p>\u3042\u3068\u306frails s\u3067\u8d77\u52d5\u3055\u305b\u3070\u826f\u3044\u3002<\/p>\n<h4>\u65b9\u6cd5\uff12\uff1a\u5404\u753b\u9762\u7528\u306bjs\u3092\u500b\u5225\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u5229\u7528\u3059\u308b<\/h4>\n<p>\u30a2\u30d7\u30ea\u3067\u4f7f\u7528\u3057\u305f\u3044js\u3092\u4f5c\u6210\u3059\u308b\u3002\uff08\u65b9\u6cd5\uff11\u306e\u6642\u3068\u540c\u69d8\u306e\u3082\u306e\uff09<br \/>\napp\/javascript\/user\/sample.js<\/p>\n<p>\u305d\u306e\u753b\u9762\u7528\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u884c\u3046\u305f\u3081\u306b\u3001\u65b0\u3057\u3044\u30b3\u30f3\u30d1\u30a4\u30eb\u7528\u306e\u8a2d\u5b9a\u3092packs\u30c7\u30a3\u30ec\u30af\u30c8\u4ee5\u4e0b\u306b\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<p>app\/javascript\/packs\/user\/application.js<\/p>\n<p>\u4f5c\u6210\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u5148\u307b\u3069\u3068\u540c\u3058\u3088\u3046\u306b\u53c2\u7167\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true \">\/\/ \u8ffd\u52a0\r\nrequire ('user\/sample')\r\n\r\n<\/pre>\n<p>\u4f7f\u7528\u3057\u305f\u3044\u753b\u9762(erb)\u306b\u4e0b\u8a18\u3092\u8ffd\u8a18\u3059\u308b\u3002<\/p>\n<p>&lt;%= javascript_pack_tag 'user\/application' %&gt;<\/p>\n<p>\u5171\u901a\u9818\u57df\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u306f<strong>packs\/application.js<\/strong>\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305fjs\u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u304c\u3001<br \/>\n\u3053\u306e\u30bf\u30b0\u3092\u8ffd\u52a0\u3059\u308b\u4e8b\u3067<strong>packs\/user\/application.js<\/strong>\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305fjs\u304c\u53c2\u7167\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u3001<br \/>\n\u753b\u9762\u3054\u3068\u306b\u500b\u5225\u306ejs\u304c\u53c2\u7167\u53ef\u80fd\u3068\u306a\u308b\u3002<\/p>\n<h2><span id=\"i-3\">\u307e\u3068\u3081<\/span><\/h2>\n<p>Rails\u306b\u304a\u3051\u308bJavaScirpt\u306b\u95a2\u3059\u308b\u53d6\u308a\u6271\u3044\u306e\u8aac\u660e\u3092\u884c\u3063\u305f\u3002<br \/>\n\u72ec\u81ea\u306e\u4ed5\u7d44\u307f\u7b49\u304c\u591a\u304f\u5165\u3063\u3066\u3044\u3066\u3084\u3084\u3053\u3057\u3044\u306e\u3067\u3001\u6163\u308c\u304c\u5fc5\u8981\u3067\u3042\u308b\u3002<\/p>\n<p>\u4e0b\u8a18\u3067\u6280\u8853\u66f8\u534a\u984d\u30bb\u30fc\u30eb\u306e\u5185\u5bb9\u3092\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u8208\u5473\u304c\u3042\u308b\u65b9\u306f\u53c2\u7167\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"BFzzgCHieq\"><p><a href=\"https:\/\/nobunobu1717.site\/?p=1713\">\u30108\/5\u307e\u3067\u3011\u6280\u8853\u66f8\u306e\u96fb\u5b50\u66f8\u7c4d(Kindle)\u304c\u534a\u984d\u4ee5\u4e0b\u306e\u30bb\u30fc\u30eb\u4e2d\u3010\u73fe\u5f79\u30a8\u30f3\u30b8\u30cb\u30a2\u304b\u3089\u898b\u305f\u30aa\u30b9\u30b9\u30e1\u66f8\u7c4d\u3082\u7d39\u4ecb\u3011<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u30108\/5\u307e\u3067\u3011\u6280\u8853\u66f8\u306e\u96fb\u5b50\u66f8\u7c4d(Kindle)\u304c\u534a\u984d\u4ee5\u4e0b\u306e\u30bb\u30fc\u30eb\u4e2d\u3010\u73fe\u5f79\u30a8\u30f3\u30b8\u30cb\u30a2\u304b\u3089\u898b\u305f\u30aa\u30b9\u30b9\u30e1\u66f8\u7c4d\u3082\u7d39\u4ecb\u3011&#8221; &#8212; nobu blog\" src=\"https:\/\/nobunobu1717.site\/?p=1713&#038;embed=true#?secret=FAwsfM6KcX#?secret=BFzzgCHieq\" data-secret=\"BFzzgCHieq\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contents1 \u6982\u89812 \u8aac\u660e3 \u307e\u3068\u3081 \u6982\u8981 GW\u4e2d\u306b\u5b66\u3093\u3067\u3044\u305fRuby on Rails\u306b\u304a\u3051\u308b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306ejs\u306e\u8aad\u307f\u8fbc\u307f\u306e\u6271\u3044\u306b\u95a2\u3057\u3066\u306e\u30e1\u30e2\u3002 Rails6\u304b\u3089JS\u5468\u308a\u306e\u53d6\u308a\u6271\u3044\u304c\u5927\u304d\u304f\u5909 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1278,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,22,32],"tags":[],"_links":{"self":[{"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=\/wp\/v2\/posts\/1292"}],"collection":[{"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1292"}],"version-history":[{"count":14,"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=\/wp\/v2\/posts\/1292\/revisions"}],"predecessor-version":[{"id":1748,"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=\/wp\/v2\/posts\/1292\/revisions\/1748"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=\/wp\/v2\/media\/1278"}],"wp:attachment":[{"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nobunobu1717.site\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}