Failed to load resource: the server responded with a status of 404 (Not Found) Unable to resolve this issue
<p>I am getting this error. I tried all the combinations of the paths of directories but every time I am getting following errors.</p>

<pre><code>Failed to load resource: the server responded with a status of 404 (Not Found)   http://localhost:3000/myapp/dist/styles.css
Failed to load resource: the server responded with a status of 404 (Not Found)   http://localhost:3000/myapp/styles/branding.css 
Failed to load resource: the server responded with a status of 404 (Not Found)   http://localhost:3000/myapp/dist/styles.css
Failed to load resource: the server responded with a status of 404 (Not Found)   http://localhost:3000/myapp/styles/branding.css
</code></pre>

<p>I have made an index.html which is requesting swaggerindex.html in which following scripts and stylesheets are present.</p>

<ul>
<li>bundle.js</li>
<li>branding.js</li>
<li>styles.css</li>
<li>branding.css</li>
</ul>

<p>Here is the code snippet of swaggerindex.html</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="../myapp/dist/styles.css"&gt;
    &lt;link rel="stylesheet" href="../myapp/styles/branding.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;p&gt;Sending the content from swagger index&lt;/p&gt;
    &lt;div class="total-wrapper" ui-view&gt;&lt;/div&gt;
    &lt;script src="../myapp/dist/bundle.js"&gt;&lt;/script&gt;
    &lt;script src="../myapp/scripts/branding.js"&gt;&lt;/script&gt;</code></pre>
</div>
</div>
</p>

<p>Here is the screenshot of the directory structure</p>

<pre><code>myapp
  |--index.html
  |--swaggerindex.html
  |--dist //directory containing styles.css and bundle.js
       |--styles.css
       |--bundle.js
  |--scripts //directory 
       |--branding.js
  |--styles //directory
       |--branding.css
</code></pre>

<p>for more clarification of directory structure you can visit to
<a href="https://github.com/swagger-api/swagger-editor" rel="nofollow">github link of the directory structure</a> </p>

<p><strong>Note:</strong> This doesnot contain dist folder but it is created when we build it in local machine</p>

<p><strong>Note:</strong> I have changed the name of index.html file to swaggerindex.html</p>