<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>Nuxt.js</anon>
    <anon>Nuxt3</anon>
  </categories>
  <description>Nuxt3で&lt;component :is&gt;を使うと、 コンポーネントや要素を動的に設定できたりする propsにtoがあるときは、&lt;NuxtLink&gt;にして、 それ以外は&lt;div&gt;にしたいなと思ったときの備忘録(*´ω｀*) &lt;template&gt; &lt;component :is=&quot;component&quot; :to=&quot;to&quot;&gt; &lt;slot&gt;&lt;/slot&gt; &lt;/component&gt; &lt;/template&gt; &lt;script setup lang=&quot;ts&quot;&gt; const props = defineProps&lt;{ to?: string; }&gt;(); const component = computed((…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2025%2F01%2F03%2F060635&quot; title=&quot;Nuxtの&amp;lt;component :is&amp;gt;でNuxtLinkをつかいたい - くらげになりたい。&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>2025-01-03 06:06:35</published>
  <title>Nuxtの&lt;component :is&gt;でNuxtLinkをつかいたい</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2025/01/03/060635</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
