<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>WaterFalls</author_name>
  <author_url>https://blog.hatena.ne.jp/WaterFalls/</author_url>
  <blog_title>１分技術ブログ</blog_title>
  <blog_url>https://waterfalls.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>Laravel</anon>
    <anon>Vue.js</anon>
  </categories>
  <description>バージョン Laravel 5.8 Vue.js 2.6.10 概要 Laravel側で管理しているconfigフォルダで管理している値や定数などを Vue側から呼ばれたAPIに渡して判定条件や表示文字列に使用する。 渡したい値が１つや２つであれがblade側で以下のようにして渡せる。 &lt;hoge-component code=&quot;{{ $user_code }}&quot;&gt;&lt;/hoge-component&gt; しかし、大量に渡したい場合は以下に記載する方法がよい。 方法 APIのレスポンスデータに定義値などをcontroller側でまとめてセットする。 今回は以下の記事で作ったextra項目を使用する。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwaterfalls.hatenablog.com%2Fentry%2F2019%2F11%2F18%2F155736&quot; title=&quot; [PHP][Laravel][vue] vue側に大量のconfig値や定義値を渡したい - １分技術ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-18 15:57:36</published>
  <title> [PHP][Laravel][vue] vue側に大量のconfig値や定義値を渡したい</title>
  <type>rich</type>
  <url>https://waterfalls.hatenablog.com/entry/2019/11/18/155736</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
