Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.16 KB

UPDATE-ASSETS.md

File metadata and controls

20 lines (17 loc) · 1.16 KB

Documentation on updating the leaflet js files etc.

cd themes/alacarte-bootblog-journal/assets/ mkdir -p css mkdir -p images mkdir -p js

curl -o css/leaflet.css https://unpkg.com/[email protected]/dist/leaflet.css #replace images/layers.png with /assets/images/layers.png #replace images/layers-2x.png with /assets/images/layers-2x.png curl -o images/layers.png https://unpkg.com/[email protected]/dist/images/layers.png curl -o images/layers-2x.png https://unpkg.com/[email protected]/dist/images/layers-2x.png curl -o js/leaflet.js https://unpkg.com/[email protected]/dist/leaflet.js

curl -o js/leaflet.fullscreen.min.js https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/Leaflet.fullscreen.min.js curl -o css/leaflet.fullscreen.css https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/leaflet.fullscreen.css #replace fullscreen.png with /assets/images/fullscreen.png #replace [email protected] with /assets/images/[email protected] curl -o images/fullscreen.png https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/fullscreen.png curl -o images/[email protected] https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/[email protected]