3D FlipBook - 3d flipbook integration with React

r***7@gmail.com
2020-03-20
2020-03-20

Hi Team, I am having a problem connecting 3d flipbook with react. I got the following error - TypeError: Cannot read property 'EventDispatcher' of undefined

I am using this package - https://www.npmjs.com/package/flip-book For some reason none of these are getting imported - const _$ = GLOBAL_LIBS.jQuery? window.jQuery: require('jquery'), _html2canvas = GLOBAL_LIBS.html2canvas? window.html2canvas: require('html2canvas'), _THREE = GLOBAL_LIBS.THREE? window.THREE: require('three'), _PDFJS = GLOBAL_LIBS.PDFJS? window.PDFJS: require('pdfjs');

Please help me resolve this. Thanks

Replies

Log In to leave a comment