Jumpstart your new Next.js mapping project with Leaflet!
yarn create next-app -e https://github.com/colbyfayock/next-leaflet-starter my-leaflet-app
First, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.