heiseonline / shariff

👮 Shariff enables website users to share their favorite content without compromising their privacy.
http://ct.de/-2467514
MIT License
1.4k stars 177 forks source link

Drupal 8 composer.json #359

Open nedab opened 5 years ago

nedab commented 5 years ago

Please provide a copy and paste composer.json solution.

I tried for hours now but cant get it to work even though composer did not complain anymore.

Always I end up with 'empty' buttons, and after a correct installation via console drupal tells me there is no library AGAIN.

What am I doing wrong?

Thank you.

criz commented 5 years ago

First: You are in the wrong issue queue. See https://www.drupal.org/project/issues/shariff?categories=All for issues about the Drupal integration.

Please read the module readme for a working example: https://cgit.drupalcode.org/shariff/tree/README.txt

The issue is probably that heise/shariff on packagist.org is the backend library, not the library: https://github.com/heiseonline/shariff/issues/198

If you use npm-asset go sure to use the latest dev version of the Drupal module.