}

Vue.js Index Page 1

Vue.js: How to show first and last element of an array in templates

Sometimes in templates you need to show the first or last element of an array or you need to close a html tag on the last item while you are doing an iteration. You can just use Vue protototype to extend it: Vue.prototype.$last = function (item, list) { return item === list[list.length - 1] }. Check here for full details.

Vue.js Index Page 1

Vue2Leaflet: vue-marker not displaying on map and map not fully rendering

When using Vue2Leaflet the map shows a graw box and only a small section of the map is rendered.