I'm embarking on the journey of creating a website from scratch with python, django, and bootstrap. I've noticed that it's common practice to store js, css, img, and fonts in a folder named vendor, like this:
/static/js/vendor/bootstrap/bootstrap.min.js
/static/css/vendor/bootstrap/bootstrap.min.css
Why do developers use this folder structure instead of something like this:
/static/bootstrap/js/bootstrap.min.js
/static/bootstrap/css/bootstrap.min.css
In the first example, when using the vendor folder setup, I would have to download bootstrap, unzip the downloaded files, and then place them into the respective js and css directories within the vendor folder. With the second example, I could simply download bootstrap and move the entire extracted folder directly into /static without any additional steps.