Skip to content

ngottlieb/brunch-leaflet-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brunch + LeafletJS

This is an example app for using the brunch-leaflet-es6-skeleton.

For more info, check out this blog post http://www.nicholasgottlieb.com/2018/11/22/easy-single-page-javascript-map-applications-with-brunch-io-and-leafletjs/.

Installation

Clone this repo manually or use brunch new your-project -s ngottlieb/brunch-leaflet-es6-skeleton

Getting started

  • Install (if you don't have them):
    • Node.js: brew install node on OS X
    • Brunch: npm install -g brunch
    • Brunch plugins and app dependencies: npm install
  • Run:
    • npm start — watches the project with continuous rebuild. This will also launch HTTP server with pushState.
    • npm run build — builds minified project for production
  • Learn:
    • public/ dir is fully auto-generated and served by HTTP server. Write your code in app/ dir.
    • Place static files you want to be copied from app/assets/ to public/.
    • Brunch site, Getting started guide

About

Example app for using the Brunch LeafletJS skeleton

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published