}

Vue.js Index Page 1

Vue.js: Show First and Last Array Elements

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: Markers Not Displaying Fix

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