title: Electron: How to import or include CSS installed using npm package manager in our index.html?
body: <p>During development there is <code>node_modules</code> folder in the root directory of our Electron project which contains all packages we have installed. So, during development we can write something like this to import our CSS file to our webpage:</p>
  
  <pre><code>&lt;link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css"&gt;
  </code></pre>
  
  <p>How can we include CSS for a project which is intended to be packaged and distributed without <code>node_modules</code>?</p>
  
  <p>Edit: After some research I found out that <code>node_modules</code> are not meant to be used this way (see <a href="https://stackoverflow.com/questions/26773767/purpose-of-installing-twitter-bootstrap-through-npm">this</a>). Still, if something changes in future please feel free to add your answer.</p>
  
  <p>Link to the repository I started with: <a href="https://github.com/electron/electron-quick-start" rel="nofollow noreferrer">https://github.com/electron/electron-quick-start</a></p>