<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>omiend</author_name>
  <author_url>https://blog.hatena.ne.jp/omiend/</author_url>
  <blog_title>the industrial</blog_title>
  <blog_url>https://omiend.hatenablog.jp/</blog_url>
  <categories>
    <anon>Nuxt.js</anon>
  </categories>
  <description>結論 十中八九 SSR 時のエラーだと思って良い。 事例 画面の実装（あるいは見た目）上には全く問題無いのに、エラーでコンポーネントが表示されないなど、ちょいちょいハマったことがある。 今日あったのは、 vue-awesome-swiper を導入してデプロイしたら、全く動かなかった件。 いろいろ調べると、コンソールの方に当該エラー（ window is not defined ） が出ていた。 対処法として SSR 時には必要の無い外部リソースを利用したコンポーネントなどでは、内部で window にアクセスしていることがある。 そういったライブラリを利用する場合は SSR を有効にしている…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fomiend.hatenablog.jp%2Fentry%2F2019%2F06%2F13%2F194720&quot; title=&quot;Nuxt.js で 「window is not defined」というエラーが出た場合の対処 - the industrial&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-06-13 19:47:20</published>
  <title>Nuxt.js で 「window is not defined」というエラーが出た場合の対処</title>
  <type>rich</type>
  <url>https://omiend.hatenablog.jp/entry/2019/06/13/194720</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
