title: Angular 2 CLI - How to use /dist folder files created by angular-cli ng build
body: <p>I'm generating dist folder after ng build and my directory looks like</p>
  
  <pre><code>C:\Source\angular&gt; ng build
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/CRffr.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/CRffr.jpg" alt="enter image description here"></a></p>
  
  <p>cut and past the dist folder in another directory  </p>
  
  <pre><code>C:\ReSource\angularbuild
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/oMzGG.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/oMzGG.jpg" alt="enter image description here"></a></p>
  
  <p>After changing  in Index.html to</p>
  
  <pre><code>&lt;base href="./ReSource/angularbuild/dist"&gt;
  </code></pre>
  
  <p>Then </p>
  
  <pre><code>C:\Source\angular&gt; ng serve
  </code></pre>
  
  <p>Getting inline.bundle.js,main.bundle.js,styles.bundle.js,vendor.bundle.js,main.bundle.js 404 not found errors </p>
  
  <p>How could i achieve it ?  I want to run the dist folder which is placed in angularbuild folder from <code>C:\Source\angular&gt;</code></p>
  
  <p>Let me know the right way to do it.</p>