<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wotsushi</author_name>
  <author_url>https://blog.hatena.ne.jp/wotsushi/</author_url>
  <blog_title>024号文書</blog_title>
  <blog_url>https://wotsushi.hatenablog.com/</blog_url>
  <categories>
    <anon>Vue.js</anon>
  </categories>
  <description>Vue.js入門 基礎から実践アプリケーション開発まで の4.2節をCodeSandboxで写経していて、つまづいたのでメモです。 やろうとしたこと 4.2節では、VueRouterにより、シンプルなSPAを実装します。 テキストでは、一つのhtmlファイルにJavaScriptのコードも含めて実装しています。 一方、今回やろうとしたことは、JavaScriptコードをjsファイルに記述する、すなわち、htmlとjsファイルを分割して実装しようとしました。 index.html &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;meta charset=&quot;utf-8&quot; /&gt; &lt;me…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwotsushi.hatenablog.com%2Fentry%2F2019%2F01%2F14%2F220553&quot; title=&quot;jsファイルでvue-routerを使う場合、Vue.useが必要 - 024号文書&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-01-14 22:05:53</published>
  <title>jsファイルでvue-routerを使う場合、Vue.useが必要</title>
  <type>rich</type>
  <url>https://wotsushi.hatenablog.com/entry/2019/01/14/220553</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
