react-hexgrid
react-hexgrid copied to clipboard
I need help. I am having trouble import the library
I have checked the path in the library is correct but it still gives me error
i use
"react-hexgrid": "2.0.1",
"react": "18.2.0"
if you use Nextjs, you could try:
const nextConfig = {
transpilePackages: ['react-hexgrid'],
};
module.exports = nextConfig;
It works for me
If we are using React/Vite then how would we resolve this issue?
Looks like a great library, but I can't import it :/