Extracting Display Labels from Element UI Cascader Component
Element UI's el-cascader cmoponent returns selected value by default. To retrieve the corresponding display label text, use the getCheckedNodes() instance method.
For region selection with three hierarchical levels (province → city → district), the cascader is configured with lazy loading to fetch options dynamically:
<el-cascader
v-model= ...
Posted on Wed, 09 Sep 2026 16:31:18 +0000 by feddie1984
Understanding Vue 2's Reactivity System
Reactivity Mechanism
Vue recursively traverses the object returned by data() and overrides its properties using Object.defineProperty() from ES5 to intercept read and write operations on these properties. For instance, if there's a property called username in data:
const originalValue = data.username;
Object.defineProperty(data, 'username', {
...
Posted on Wed, 02 Sep 2026 16:16:28 +0000 by dave914
Frontend Developer Interview Guide
This guide covers common frontend interview questions, frequently asked topics, and technical concepts that appear in technical interviews. The content is organized by technology area and includes practical examples where applicable.
HTML Fundamentals
1. What is the purpose of semantic HTML?
Semantic HTML means using the correct HTML elements f ...
Posted on Tue, 01 Sep 2026 16:16:29 +0000 by jamesxg1
SparkMovie Novel Website Built with SpringBoot Vue and UniApp Full Source Code Available
This project presents a complete movie and novel information website designed using SpringBoot, Vue (frontend), and UniApp (mobile). It includes full source code, deployment documentation, and an explanatory guide. The system supports user registration, content browsing, and admin management. It is suitable for learning full-stack development o ...
Posted on Mon, 31 Aug 2026 16:31:39 +0000 by RickChase
Using MediaInfo.js in Vue to Detect Audio Tracks in Video Files
MediaInfo is a tool that reads and analyzes audio and video files, extracting metadata such as video details, audio tracks, subtitles, and more. It can also be used on the web through mediainfo.js, which leverages WebAssembly technology to provide similar functionality. This article focuses on entegrating mediainfo.js into a Vue framework for d ...
Posted on Tue, 25 Aug 2026 16:25:51 +0000 by NewPHP_Coder
Building a Mini Vue: Implementing Observer, Watcher, and Compiler
Vue's source code implements dependency collection using the Observer pattern. It involves three main classes:
Dep: Acts as the observable target. Every data property has a Dep instance containing a subs queue (short for subscribers) that holds all Watcher instances depending on the data. When data changes, dep.notify() is called to inform all ...
Posted on Mon, 24 Aug 2026 16:25:35 +0000 by rcoursey
Custom Element Transfer Component with Drag Sorting and Checkbox Interaction
Usage
Import and register the custom drag-enabled transfer component, then integrate it into your Vue template:
<CustomDragTransfer
:selected-right-items="selectedRightFilterList"
left-panel-title="Unavailable Filter Fields"
right-panel-title="Saved Filter Presets"
:all-source-data="fullFilterDatase ...
Posted on Wed, 19 Aug 2026 16:16:58 +0000 by ceci
Setting Up Vue.js via npm with Custom Cache and Registry Configuration
Install Node.js and Verify npm
npm (Node Package Manager) is included with Node.js. Download and install Node.js from its official website. After installation, verify both tools by running:
node -v
npm -v
By default, npm stores global packages and cache in the user directory (e.g., C:\Users\<User>\AppData\Roaming\npm). To relocate these ...
Posted on Tue, 11 Aug 2026 16:59:30 +0000 by purefusion
Design and Implementation of a Music Player with SpringBoot, Vue, and Uniapp for WeChat Mini Program
Introduction
This article details the design and implementation of a music player application using SpringBoot for the backend, Vue for the frontend, and Uniapp for the WeChat Mini Program. The focus is on creating a robust, scalable system with modern web technologies.
Detailed Video Demonstration
For a comprehensive video demonstration, pleas ...
Posted on Tue, 11 Aug 2026 16:08:00 +0000 by RIGOLETO
Creating Toast Components in Vue Using Vue.extend Pattern
Implementation Preview
Component Overview
Notification components of this type are typically invoked directly within JavaScript code, similar to this example:
this.$notification('Stop clicking, you have reached the end!')
How ever, most implementations found online utilize the component approach, requiring manual placement of component elemen ...
Posted on Sun, 09 Aug 2026 16:37:50 +0000 by rakennedy75