Closed julientechdev closed 6 years ago
Actually it doesn't fix the problem. I also tried running the full build with the compiler, same problem. This is weird because a render function is defined on vue-resize-sensor component...
I will create a vue-resize-sensor@2 version that will use only esm. (btw, I use vue-resize-sensor@1.x with webpack@3.6.x without problem)
Any expectation on when the vue-resize-sensor@2 version will become available? Tx
very soon...
Much appreciated!
please check v2.0.0 (note that vue-pdf has not been updated accordingly)
please reopen if the problem persists
Using vue-pdf on a webpack 3 project, the render function on resize sensor fails to mount with vue (runtime only).
It seems that using es imports instead of requires on both vue-pdf & vue-resize-sensor fix the problem.