How select files to put site online


Topic: How select files to put site online

nlxt asked 6 years ago

Hi, How do I select the only files that are needed for the site to work properly, before uploading them? Some files / folder are obvious (index, bootstrap, jquery, style.min.css...) while with others I do not know? Sorry if the question is stupid, I am a junior developper. Many thanks for your help, Nicolas


Bartłomiej Malanowski staff pro premium answered 6 years ago

Hello there!

To your server, you can upload every single file of MDB, but the required files are:

  • Your HTML files (eg. index.html)
  • css/bootstrap.min.css (you can also use bootstrap.css, but it's better to use minified one on the production)
  • css/mdb.min.css (same as above)
  • js/popper.min.js
  • js/jquery-3.4.1.min.js
  • js/bootstrap.min.js
  • js/mdb.min.js
  • img/ (whole directory)
  • font/ (also, whole directory)

These are the minimum to make sure that your site will work properly.

Personally, I recommend you to use webpack which will help you to create a bundle with only the required files and optimize it. Here you can learn how to use MDB with Webpack


nlxt commented 6 years ago

Thank you so much!!


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: MacBook Pro
  • Browser: Chrome
  • OS: MacOS Mojave
  • Provided sample code: No
  • Provided link: No