title: Use of vendor folder in web design
body: <p>I am starting to build a website from scratch using python, django, and bootstrap. I have noticed that many times js, css, img. and fonts are stored in a folder vendor, such as:</p>
  
  <pre><code>/static/js/vendor/bootstrap/bootstrap.min.js
  /static/css/vendor/bootstrap/bootstrap.min.css
  </code></pre>
  
  <p>or something similar.</p>
  
  <p>What is the benefit of this folder structure over something like:</p>
  
  <pre><code>/static/bootstrap/js/bootstrap.min.js
  /static/bootstrap/css/bootstrap.min.css
  </code></pre>
  
  <p>In the first example, when using the vendor folder as I have often seen, I would have to download bootstrap and unpack the downloaded folder into the js and css vendor sub-directories. In the second example, I can download bootstrap and drop the downloaded folder into /static without having to unpack anything.</p>