1. 6
    Install Leaflet and react-leaflet with NPM in a JavaScript Project
    13s

Install Leaflet and react-leaflet with NPM in a JavaScript Project

InstructorColby Fayock

Share this video with your friends

Send Tweet

While there are a few options for building maps, Leaflet is the most popular. Lucky for us, Leaflet is also available as a ReactJS component library with React Leaflet. We'll use both Leaflet and React Leaflet to build a map in our React app.

To get started, we need to install:

Leaflet (npmjs.com) and React Leaflet (npmjs.com)

Click here for exercise instructions

~ a year ago

Hi, I can't run the application because a lot of dependencies are deprecated. Hope, the author fixed that in his GitHub account.