Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install libraries without composer in drupal 8

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)

like image 775
Chris Happy Avatar asked Sep 01 '16 07:09

Chris Happy


1 Answers

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.

like image 134
Arioch Avatar answered Jan 03 '23 15:01

Arioch