View on GitHub

leaflet-npm

Collection of Leaflet bundles to start building web maps with a proper npm module loader (browserify, rollup or webpack)

leaflet-npm

Collection of Leaflet bundles to start building web maps with a proper npm module loader (browserify, rollup or webpack)

  1. Start cloning a branch:
  2. Update project dependecies running the npm install command

  3. Develop your Leaflet Map within the respective /src folder

  4. Pack your application running the npm run build command

  5. See generated results opening the /dist/index.html file

List of useful npm commands