6

In drupal 8, I am encountering modules that require libraries to be installed by Composer. However, I was wondering if I could skip the composer part and just install the libraries by hand.

Would I ever be able to do this?

(I have never gotten Composer to work)

Joshua
  • 2,932
  • 2
  • 24
  • 40
Chris Happy
  • 7,088
  • 2
  • 22
  • 49

1 Answers1

3

Just extract the library at /libraries.

For colorbox, you should have root/libraries/colorbox/jquery.colorbox-min.js

But this way you miss the main purpose of composer cause it won't be possible to update all the dependence automatically.

Chris Happy
  • 7,088
  • 2
  • 22
  • 49
Arioch
  • 314
  • 2
  • 8
  • Hello, I need to install commerceguys/addressing library. I have downloaded and uploaded library files to vendors/commerceguys/addressing in drupal. I have cleared cache but still this library is not installed on drupal. Can you please tell me how can I install this library without composer. I can't run composer because i am on a shared hosting. – Optimum Creative Jun 21 '21 at 09:39