Tag: Script Setup

What is the difference between v-show and v-if in Vue js

Vue Js offers us a number of directives that are based to improve the development experience. If you are new to Vue Js, you may be asking yourself, what are directives in Vue js? Directives are special HTML attributes that enhance the developer experience by providing a set of functionality to a specific HTML element…


How to use Watch in Vue 3 in Composition API

In this article, we are going to cover in detail what watchers are and how they can be used in Vue js 3 using the Composition API and Script Setup. I usually like to cover both APIs in the same post, but in this case, there are a few too many differences that would make…