How to get the last item in Vue.js array
In this Vue.js tutorial, I’ll show you how to get the last item of an array using the slice() method.
Tips and tricks, tutorials, and code examples for Vue.js, JS, CSS, HTML, Wordpress, Django, Front-end, Sass, React, React Native, Angular, iOS, macOS.
There are 128 posts filed in Code (this is page 12 of 13).
In this Vue.js tutorial, I’ll show you how to get the last item of an array using the slice() method.
Right now you have a working prototype of your Vue.js single-page application (SPA) and you need to host it somewhere.
I’ve been thinking about adding a new section to my website, where I’d share WordPress tutorials and snippets.
This is a common task for front-end developers.
In this tutorial, I’ll show you how to get selected option from a dropdown list in Vue.js.
As you probably don’t know GitHub doesn’t allow to use the same deploy key for multiple repositories.
If you’re a web developer like me, you probably use console a lot.
This snippet will be useful for those trying to implement an infinite scroll in Vue.js or load next article when user reaches the bottom of the page.
A list of apps and tools I use on my Mac for coding, prototyping, photo and video editing, productivity, privacy and browsing.
I came up with an easy way to repeat a function in Vue.js.