Proper way to add Snap Svg

Hi there,

what would be a proper way to add Snap SVG to Sage?

I use yarn “add” command to clone it from github however it wrecks jquery on the site. If I copy snap.svg.js to scripts/autoload I get ton of stylelint errors.

Not sure what is wrong.



Can you explain what you mean by “wrecks jquery”?

1 Like

When I add it through yarn all of the scripts stop working on the site.

So I believe there is a conflict between jquery and snapsvg.js