Vue Auto Focus Directive: Managing Automatic Input Focusing

Upon page load, focus shifts to the order number input field After scanning a order number, focus moves to the product barcode input Following barcode scanning, focus remains on the barcode input Once all barocdes are scanned, focus returns to the order number input To address such scenarios, I developed a Vue directive named vue-auto-focus. ...

Posted on Mon, 18 May 2026 04:00:36 +0000 by Cynix

How to Use el-icon in Element Plus?

Introduction In the Vue ecosystem, Element UI is one of the top component libraries. When Vue 3.0 was released, Element also released its corresponding library, Element Plus. Consequently, some usage patterns changed, including how el-icon works. While the official documentation covers usage, it may not be sufficiently detailed, potentially cau ...

Posted on Sun, 17 May 2026 20:30:50 +0000 by moomsdad

Developing Custom Plugins for Vue 3

Plugins extend Vue applications by attaching reusable features across the entire instance tree. Standard integration patterns involve registering global components or directives, exposing shared instances through app.provide(), and attaching methods or configuration values to app.config.globalProperties. Comprehensive libraries typically combin ...

Posted on Sun, 17 May 2026 09:26:27 +0000 by karq

Frontend Development Technical Guide

When using the map component in Taro, rendering failures occurred during frequent page transitions. The issue appeared to be that variables weren't properly bound to the map component's properties. Initially tried setState, local variables, and caching without success. Finally resolved by changing the lifecycle method from componentDidMount to ...

Posted on Sat, 16 May 2026 08:57:41 +0000 by Foser

Integrating Markdown Support into Todo List Application

Markdown Editor Implementation Implementation of a markdown diary feature for a todo list application using the markdown_js open-source library. Project Repository Previous tutorial on the todoList application markdown-js repository Issues Encountered: Data Loss During Component Switching When transitioning between editor and list views, prev ...

Posted on Fri, 15 May 2026 12:06:02 +0000 by wherertheskips

Uni-App Common Scenarios Quick Reference

Common Scenarios in uni-app Development Quick Reference This document records common issues encountered during uni-app development for future reference. 1. Line Break Display in ElementUI Textarea When using el-input with type="textarea", the text content may not display line breaks in a table. To show line breaks, render the content ...

Posted on Fri, 15 May 2026 00:56:41 +0000 by vineld

Implementing Horizontal Image Split in UniApp WeChat Mini Program

Parent Component for Image Upload Create an upload button that trigegrs the file selection dialog: uni.chooseMessageFile({ extension: [".jpg", ".png", ".jpeg"], success: (res) => { const paths = res.tempFiles.map((item) => item.path); uni.navigateTo({ url: `/pages/document/detail?files=${pat ...

Posted on Thu, 14 May 2026 10:26:19 +0000 by SargeZT

Building a Vue Admin Dashboard with ElementUI

Project Repository GitHub Repository: https://github.com/imxiaoer/ElementUIAdmin Live Demo: https://imxiaoer.github.io/ElementUIAdmin/dist/index Project Dependencies HTTP Client: "axios": "^0.18.0" Charting Library: "echarts": "^4.2.0-rc.2" Rich Text Editor: "vue-quill-editor": "^3.0.6" Routing: "vue-router": "^3.0.1" State Managem ...

Posted on Thu, 14 May 2026 09:20:40 +0000 by Alex007152

Essential Frontend Interview Questions and Concepts

HTTP Fundamentals GET vs POST Requests Characteristic GET POST Idempotency Yes No Usage Retrieving data Submitting data Caching Cached Not cached Parameter Passing URL query string Request body Security Less secure More secure Length Limits Browser-dependent No browser limits Data Types ASCII only All types including files ...

Posted on Thu, 14 May 2026 07:59:10 +0000 by brad_fears

Controlling Component Cache Behavior During Route Navigation in RuoYi

Route-Level Cache Control In RuoYi framework, you can prevent specific routes from using cached components by modifying the route configuration in src/api/router/index.js. Add the noCache: true parameter to the route's meta object: { path: '/storage', component: Layout, hidden: true, redirect: 'noredirect', children: [ { pat ...

Posted on Thu, 14 May 2026 03:18:11 +0000 by Jeroen_nld