Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
The v-blur directive in Vue.js customizes elements by applying dynamic blur effects. Users control blur intensity using an input element, with smooth transitions for a polished appearance.
The v-tooltip directive in Vue.js enables the effortless addition of tooltip functionality to elements. It dynamically creates and displays tooltips on hover, is styled for visual appeal, and is positioned accurately.
Learn to create a custom search filter directive in Vue.js to dynamically filter a list based on user input. Directives allow DOM manipulation, enabling special behaviors.
Learn how to create a Vue.js custom directive that sorts an array of objects by price and updates the displayed list.
Vue.js file size filter formats file sizes for display in a user-friendly way. It converts bytes to KB, MB, GB, or TB. Easily implemented globally in Vue components for clear presentation.
Learn to implement input masks in Vue.js to format and control data input. Create a directive to apply masks, removing non-digit characters while retaining specified formats like phone numbers.
Creating a password strength indicator in Vue.js involves calculating the strength of a password based on certain criteria and then displaying it to the user.
Detecting clicks outside an element in Vue.js is crucial for scenarios like closing dropdown menus or modals. This guide provides a step-by-step process, ensuring efficient handling of such events.
Learn how to enhance user experience in Vue.js by creating a v-autofocus directive. Automatically focus input elements on the component mount for improved form interactions. Customize according to your needs.
To reverse a string in Vue.js, create a custom filter that reverses the characters. Define the filter, register it globally, and apply it in Vue component templates for efficient string reversal.
To extract initials from a string in Vue.js, you can create a custom filter or method. Define a filter or method to process the string and return the initials, providing flexibility in implementation.
Create a Vue.js truncate filter by defining a custom filter that shortens text to a specified length. Register the filter globally, then use it in your component templates as needed.
In Vue.js, detecting route changes is achieved through Vue Router's navigation guard, beforeEach. Import Vue Router, set it up, and use beforeEach to execute logic before each route navigation.
In Vue.js, disable right-click functionality by creating a custom directive. Bind an event listener to contextmenu, preventing its default behavior. Easily implement this directive for specific elements in your templates.
In Vue.js, methods and computed properties serve distinct roles. Methods are JavaScript functions invoked in response to events, while computed properties cache values based on dependencies, enhancing performance for derived data manipulation.
Vue.js provides various directives to facilitate dynamic interactions in your web applications. One such directive is v-show, a handy tool for toggling the visibility of elements based on a condition. In this article, we'll explore the syntax, use cases, and examples of the v-show directive in Vue.js.
Learn how to use Vue.js methods to handle click, mouse, and input events, update reactive data, and pass arguments in Vue 3 applications.
In Vue.js, props facilitate one-way data flow from parent to child components, enhancing communication. This snippet demonstrates their use, fostering modular and reusable components for effective code management.
Vue.js, a progressive JavaScript framework, provides developers with powerful tools to create dynamic and responsive web applications. One such tool that significantly enhances the reactivity of your Vue components is computed properties.
In the world of Vue.js, watchers stand as vigilant guardians, monitoring specific data properties for any signs of change. When a change is detected, they leap into action, executing custom logic to check your application stays in sync and responds accordingly.
Vue.js is renowned for its ability to create dynamic and interactive user interfaces, and the v-for directive stands out as a powerful tool when it comes to dynamically generating components. In this article, we will delve into the intricacies of using v-for to create component elements based on an array.
Vue.js, with its powerful reactivity system, allows seamless communication between parent and child components. While props enable data flow from parent to child, the $emit() method serves as a bridge for sending information from the child back to the parent. In this comprehensive guide, we will explore the intricacies of Vue.js custom events, focusing on the application of the $emit() method to create dynamic and interactive user interfaces.
Implementing lazy loading translations in Vue.js with Vue I18n involves asynchronously loading translation files when needed, reducing the initial bundle size and enhancing loading performance. Learn the process with a detailed example.
Vue.js boasts a powerful reactive interface, automating UI updates in response to underlying data changes. Through data binding, reactivity, computed properties, and watchers, Vue ensures efficient and automatic UI synchronization.
Vue.js provides a powerful feature known as fallthrough attributes, which allows attributes not declared as props to seamlessly pass through to the root element in a component. This feature enhances code readability and simplifies the parent component by avoiding the need to declare every attribute as a prop.
Vue.js 2 provides a powerful component system that facilitates building modular and maintainable applications. One critical aspect of component design is understanding and managing component scope. In this article, we'll explore the concepts of local and global components in Vue.js.
Learn Vue.js's watch property, a powerful feature allowing custom logic reactions to changes in data, computed properties, or reactive values. Utilize object-based and immediate watchers for efficient state management.
Vuex getters in Vue.js store efficiently compute derived state, offering reactivity and composable logic. They provide a means to access, derive, and cache state values, enhancing modularity and code maintainability.
In Vue.js, maintaining clean and efficient components is crucial. This article explores various methods for rendering multiple instances of the same component or element, including v-for, computed properties, methods, and named slots.
Learn how to handle HTTP requests in Vue.js with Fetch, Vuex state management, Axios file uploads, error handling, and WebSockets for real-time chat.
Everything on Vue.js, not only its articles: the Vue.js page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article