DEV Community

loading...

Discussion on: Build a Story Web Component with LitElement

Collapse
madeinlagny profile image
madeInLagny

Hi Steven, great piece of work. I have tried to convert your code to plain Javascript. When I import HammerJs the way you do, I get a 'SyntaxError: The requested module '../../node_modules/hammerjs/hammer.js' does not provide an export named 'default'.
Any idea ?.
Cheers !

Collapse
straversi profile image
Steven Traversi Author

I would try simply import 'hammerjs'.