<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>itoka_pi</author_name>
  <author_url>https://blog.hatena.ne.jp/itoka_pi/</author_url>
  <blog_title>開発、いろいろ</blog_title>
  <blog_url>https://itoka.hatenadiary.com/</blog_url>
  <categories>
    <anon>Vue.js / Nuxt.js</anon>
  </categories>
  <description>今更感が溢れる内容ではありますが、最近初めて .sync修飾子 を使ってみて、コンポーネント/page がすっきりしたので、まとめてみます。 検証環境 nuxt: 2.15.3 @nuxtjs/composition-api: 0.22.3 @nuxt/typescript-build: 2.1.0 element-ui: 2.15.1 .sync修飾子とは jp.vuejs.org 親pageや親コンポーネントで用意した状態を、子からイベント経由で更新したい場合に簡単に実装ができるシンタックスシュガーです。 そもそも子から親の状態は直接更新できない プロパティ — Vue.js 単方向のデー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitoka.hatenadiary.com%2Fentry%2F2021%2F05%2F06%2F005644&quot; title=&quot;【Vue.js / Nuxt.js】 .sync修飾子で状態の更新を簡単に行う - 開発、いろいろ&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>2021-05-06 00:56:44</published>
  <title>【Vue.js / Nuxt.js】 .sync修飾子で状態の更新を簡単に行う</title>
  <type>rich</type>
  <url>https://itoka.hatenadiary.com/entry/2021/05/06/005644</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
