featured Image

How To Add Multiple Classes in VueJS | Class Binding

In the Vuejs tutorial, we will learn how to add multiple classes in an Html Element dynamically. We can add more than one class in vue by binding them to…

Read more
featured Image

[Solution] Add External Script Tags in Vue JS component

This article is about ways to add external script tags in the Vue JS component. Usually, when we add scripts to our Vue application globally, we add the <script>tag in…

Read more
featured Image

Set URL Query Params In Vue 2 Using Vue-Router

This article will show you three ways how to set URL Query or URL params in Vue 2 using Vue-Router. What is URL query? In simple words, a URL query…

Read more
featured Image

Trigger an event on route change in Vue | VueJS

This article is about how to trigger an event on route change in Vuejs with vue-router. There are more than one way by which we can detect the route change…

Read more
featured Image

Update Parent data from child component in VueJs

In this article, we will learn how to update parent data from a child component in Vuejs. To update parent data from a child component, we will use a custom…

Read more
featured Image

Resolve – node unexpected token import error in Nodejs

In this post, we will learn how to resolve the “SyntaxError: Unexpected token import” error in node applications. The unexpected token error occurs when you try to work with ES6…

Read more
featured Image

fatal:refusing to merge unrelated histories git error – Fix

This article is about how to resolve “fatal:refusing to merge unrelated histories” in git error. This error occurs when we try to merge two completely unrelated git repositories together into…

Read more
featured Image

Get multiple elements by Id using JavaScript

In this short tutorial, we will learn how to select multiple elements by their Ids in JavaScript. To select multiple elements by its ids , we cannot use document.getElementById method….

Read more
featured Image

Split an array into half in JavaScript

In this post, we will learn how to divide an array into half using JavaScript. We can divide/split an array in half using the Array.splice() method. With this method, we…

Read more