Understanding the Reactivity of useAttrs in Vue 3
In Vue 3, useAttrs() is indeed reactive. When called inside a component's setup function, it returns a reactive object containing all non-prop attributes (like class, style, or event listeners) passed from the parent component. This reactivity means the object automatically updates when the parent re-renders with new attribute values, and you c ...
Posted on Tue, 22 Sep 2026 16:13:14 +0000 by rajsekar2u
Advanced Patterns and Optimization Strategies in Vue 3
Core Architecture and the Composition Paradigm
Reactive State Management
Vue 3 replaces the legacy Object.defineProperty approach with ES6 Proxy objects. Two primary APIs handle state: ref for primitive values and nested structures requiring explicit .value access, and reactive for creating observable object proxies that maintain prototype chai ...
Posted on Mon, 07 Sep 2026 16:02:49 +0000 by aesthetics1
MapleBoot Open-Source Project Startup and Deployment Tutorial
Lightweight Rapid Development Scaffold
A lightweight rapid development scaffolding built with SpringBoot and Vue3. This is a universal full-stack project template for quickly building management systems, with built-in code generation capabilities for SpringBoot and Vue projects, and is an actively maintained open-source collaborative project.
O ...
Posted on Fri, 04 Sep 2026 16:09:45 +0000 by henrygao
Creating an Interactive Image Hotspot Editor in Vue 3
This article presents a comprehensive solution for implementing an image hotspot editor using Vue 3. The component alows users to define clickable regions on an image, move and resize them, and assign metadata such as links. We will explore two implementations: one using TypeScript with the Composition API, and another using standard JavaScript ...
Posted on Tue, 25 Aug 2026 16:16:58 +0000 by mrgrinch12
Creating a Reusable Collapsible Panel Component in Vue 3
Transition Handler Component
Define a transition wrapper to animate expand and collapse actions.
<template>
<transition
@before-enter="prepEnter"
@enter="startEnter"
@after-enter="finishEnter"
@before-leave="prepLeave"
@leave="startLeave"
@after-leave="fin ...
Posted on Sun, 23 Aug 2026 16:38:30 +0000 by jstngk
Integrating SCSS with Vue 3 and Vite for Advanced Styling
Project Setup
Initialize a Vue 3 project with Vite and add the Sass preprocessor dependency:
npm install sass -D
Configuring Global Variables
To make SCSS variables available across all components without explicit imports, configure the additionalData option in vite.config.js. This injects the content of a global file into every style block.
i ...
Posted on Sun, 16 Aug 2026 16:57:39 +0000 by killfall
Building a Reusable Element Plus Data Table with Filtering, Pagination, Dynamic Columns, and Inline Editing
Table Configuration
Create a configuration file to define grid schemas and search parameters. Each column definition requires a field (data key) and header (display name). Optional properties control alignment, width, rendering types (e.g., timestamp, image, switch, tag), and inline editing.
// grid.config.ts
import type { ColumnDef, FilterDef ...
Posted on Wed, 05 Aug 2026 16:29:02 +0000 by php_2004
Vue 3 Fundamentals
Enviroment Setup
Vue 3 requires Node.js for development. Install the Vue CLI globally:
npm install -g @vue/cli
vue --version # Verify version (≥4.5.0)
vue create project-name
# Select "Manually select features" during setup
Composition API Fundamentals
Reactive State Management
ref() for Primitive Values
<template>
<div&g ...
Posted on Sat, 01 Aug 2026 16:18:24 +0000 by tiki
Vue 3 vs Vue 2: Key Differences and Development Impacts
Core Improvements in Vue 3
Performance Enhancements: Virtual DOM rewritten with static node skipping and dynamic node-only processing. Update performence improved by 1.3-2x, and SSR speed increased 2-3x.
Tree-shaking Support: Removes unused modules during build. Based on static analysis of ES6 imports to identify and eliminate unused code.
Fra ...
Posted on Sun, 26 Jul 2026 16:30:24 +0000 by PHPdev
5 Essential Vue 3 Composition API Methods Every Frontend Developer Must Know in 2024
Understanding these functions deepens your grasp of Vue 3's Composition API and enables you to build more robust and maintainable applications. This guide provides practical examples you can immediately implement in your projects.
Overview of Composition API Macros
Vue 3 provides these macro functions specifically for defining component propert ...
Posted on Tue, 21 Jul 2026 17:11:51 +0000 by FMB