<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rennnosukesann</author_name>
  <author_url>https://blog.hatena.ne.jp/rennnosukesann/</author_url>
  <blog_title>Ren's blog</blog_title>
  <blog_url>https://rennnosukesann.hatenablog.com/</blog_url>
  <categories>
    <anon>Nuxt.js</anon>
    <anon>TypeScript</anon>
  </categories>
  <description>Nuxt.jsでTypeScriptを使用した際、Webpackでよくやるimportエイリアスを適用したかったのでやってみました。 TypeScriptコンパイル時のエイリアスルールを設定 先ずはコンパイル時に怒られないよう tsconfig.ts にエイリアスを設定します。 tsconfig.ts { &quot;compilerOptions&quot;: { .... &quot;baseUrl&quot;: &quot;.&quot;, &quot;paths&quot;: { &quot;@/*&quot;: [&quot;./*&quot;], &quot;~/*&quot;: [&quot;./*&quot;] }, .... } } baseUrl はimportの起点となるディレクトリです。 この場合 tsconfig.ts が配…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frennnosukesann.hatenablog.com%2Fentry%2F2019%2F09%2F23%2F222933&quot; title=&quot;【Nuxt.js/TypeScript】Nuxt.js/TypeScriptでimport エイリアスを有効化する　 - Ren&amp;#39;s blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/r/rennnosukesann/20190923/20190923222649.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-09-23 22:29:33</published>
  <title>【Nuxt.js/TypeScript】Nuxt.js/TypeScriptでimport エイリアスを有効化する　</title>
  <type>rich</type>
  <url>https://rennnosukesann.hatenablog.com/entry/2019/09/23/222933</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
