palerdot/react-d3-speedometer

Use react-d3-speedometer with Nextjs

mingbackmountain opened this issue · 2 comments

test

I keep getting this error when I apply the compent to my Nextjs project. Can somebody help me with this problem?

@mingbackmountain can you try integrating next-transpile-modules in your nextjs project and see if it fixes your problem?

This library uses lodash-es which exports es6 modules. Nextjs needs a way to understand the es6 module exports. next-transpile-modules helps with that.

Please reopen this issue with more details if you still have problems integrating with nextjs