When I install the first time, my next.js project has a transpile error when importing, looking for the solution I found that by adding in your config file next.js transpilePackages, the problem has solution.
For people who want to use this library in their next.js projects, it is recommended to use this configuration to avoid the transpile error problem.
Description
Add Next.js integration instructions
Why
When I install the first time, my next.js project has a transpile error when importing, looking for the solution I found that by adding in your config file next.js transpilePackages, the problem has solution.
For people who want to use this library in their next.js projects, it is recommended to use this configuration to avoid the transpile error problem.