how can i import a leaflet by nextjs?

The Next.js dynamic import only works with React Components. Therefore I would recommend to use the pure dynamic import (not the one from next/dynamic).

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top