title: Docusaurus V2 not automatically use swizzled component
body: <p>I've create basic documentation website with Docusaurus V2 and I want to change layout of my site.</p>
  <p>So I run <code>npm run swizzle @docusaurus/theme-classic layout -- --danger</code> which copy layout js and css file to the directory.</p>
  <p>However, I need to change <code>import Layout from '@theme/Layout';</code> to <code>import Layout from '../theme/Layout';</code> in <code>index.js</code> by myself to make it works (but I still can't figure how to make it works in other page).</p>
  <p>In <a href="https://docusaurus.io/docs/cli#docusaurus-swizzle-sitedir" rel="nofollow noreferrer">Docusaurus document</a>, it's claimed that</p>
  <blockquote>
  <p>Docusaurus will use it instead of the one provided from the theme</p>
  </blockquote>
  <p>Am I missing something to make Docusaurus use it automatically?</p>