How to add a class to body tag in Vue.js

by

In this tutorial, you’ll learn how to add and remove body classes in Vue.js with and without using additional packages.

How to get the first item in Vue.js array in template

by

In this tutorial, you’ll learn how to render the first item of an array in Vue.js template.

How to sort an array in Vue.js/JavaScript/ES6

by

In this tutorial, you’ll learn how to sort an array by a property value in Vue.js.

Reverse the order of an array in Vue.js/JavaScript

by

In this tutorial, you’ll learn how to reverse an array in Vue.js.

How to check if an image is loaded in Vue.js

by

In this tutorial, you’ll learn how to check if an image is loaded in Vue.js.

How to deploy a Firebase app to multiple environments

by

In this tutorial, you’ll learn how to create and deploy your Firebase app to multiple environments.

How to trigger a mouse click in Vue.js

by

In this tutorial, you’ll learn how to trigger events in Vue.js using the $refs.

Detect mobile device in Vue.js

by

In this tutorial, you’ll learn how to detect whether or not a user is using a mobile device in Vue.js.

How to add current date to input type date in Vue.js

by

In this tutorial, you’ll learn how to add today’s date to HTML <input type="date"> in Vue.js and JavaScript.

How to watch props in Vue.js

by

In this tutorial, you’ll learn how to watch props for changes in Vue.js.