Tagged articles
Vue2
15 articles · Page 1 of 1
A step-by-step guide to implementing consistent code formatting and quality checks in Vue2 projects using Prettier for style and ESLint for logic, with exact dependency versions, configuration files, VS Code integration, and husky pre-commit hooks.
ESLintPrettierVS Code
0 likes · 12 min read

This guide walks through creating a full‑stack WebSocket solution using Netty for the server, Spring Boot for lifecycle management, Redis for token validation, and Vue2 on the client, covering configuration, token handling, heartbeat detection, channel management, and message broadcasting with complete code examples.
NettyReal-time MessagingSpring Boot
0 likes · 37 min read

This tutorial explains how to integrate a pre‑built Vue 2 component library into a Vue 3 application by dynamically loading the Vue 2 runtime, creating an isolated Vue 2 instance, mounting the component to a dedicated DOM node, and leveraging props for data exchange, while keeping bundle size small.
VueVue2Vue3
0 likes · 6 min read

This guide demonstrates how to configure Tencent Cloud COS for both simple and multipart large‑file uploads in a front‑end/back‑end separated architecture, using Vue2 on the client side and Spring Boot with YML configuration on the server, covering bucket setup, security, CORS, concurrency, and resumable upload techniques.
File UploadSpring BootTencent Cloud COS
0 likes · 12 min read

The author demonstrates how the Cursor AI coding assistant was used to migrate a Vue 3 horizontal‑scrollbar plugin to Vue 2, covering dependency replacement, code refactoring, documentation updates, build fixes, npm publishing, and adding new features through precise prompts.
AI CodingCursorPlugin migration
0 likes · 8 min read

This article provides a comprehensive comparison between Vue 2 and Vue 3, covering changes in reactivity implementation, the introduction of the Composition API, lifecycle hook updates, component caching, data binding techniques, state‑management alternatives, storage options, and numerous code snippets that illustrate each concept for developers preparing for interviews or upgrading projects.
Composition APIJavaScriptVue2
0 likes · 25 min read

This tutorial consolidates the fragmented knowledge about using Echarts in UniApp mini‑programs, detailing library choices, installation steps, complete code examples for both Vue2 and Vue3 projects, and common pitfalls with practical solutions.
EChartsMiniProgramUniApp
0 likes · 12 min read

This article explains why and how to migrate a large Vue 2 Webpack codebase to Vite, applying Simon Sinek's Golden Circle model to clarify motivation, method, and concrete steps, and demonstrates the resulting dramatic reduction in build time and bundle size.
Build ToolsViteVue2
0 likes · 13 min read

This article provides a comprehensive comparison between Vue 2 and Vue 3, detailing their architectural differences, new features such as the Composition API, TypeScript support, fragments, teleport, suspense, virtual‑DOM optimizations, and guidance on state management, build tools, and migration strategies.
Composition APIJavaScriptVue
0 likes · 20 min read

This tutorial explains how to add a QR‑code scanning feature to an H5 page with Vue2 by installing html5-qrcode, handling HTTPS requirements, and providing complete HTML, JavaScript, and CSS code snippets for a functional camera‑based scanner.
H5QR CodeVue2
0 likes · 4 min read


JD TechMar 15, 2023 · Frontend Development
This article explains how to adopt Vite in a Vue 2.x codebase, covering dependency installation, process and global polyfills, path‑alias handling, sass loader conflicts, template adjustments, and performance comparisons, while providing concrete configuration snippets for a smooth migration.
ViteVue2bundling
0 likes · 13 min read

The article explains how Vue 3 improves upon Vue 2 by replacing Object.defineProperty with Proxy for reactivity, introducing a refined runtime renderer, a compiler that transforms templates into render functions, and new features such as the Composition API, script setup, and built‑in components like Fragment and Teleport.
Composition APIReactivityVue
0 likes · 6 min read

This article explains Vue's error handling mechanisms—including global errorHandler, component-level errorCaptured, and the underlying source code functions handleError, invokeWithErrorHandling, globalHandleError, and logError—through detailed code examples, execution flow diagrams, and practical interview scenarios.
JavaScriptVue.jsVue2
0 likes · 15 min read

This guide explains which projects are suitable for migrating to Vite 2.3.7, provides a detailed migration workflow using Vite for development while keeping Webpack for production, and lists frequent issues with solutions, covering configuration, plugins, environment variables, proxy setup, TypeScript, JSX, and common debugging tips.
ViteVue2
0 likes · 10 min read

This article provides a step‑by‑step tutorial on building a simple ThinkJS + Vue2 project with separate user and admin pages, covering directory layout, proxy setup, multi‑page webpack configuration, server routing, API creation, adding new pages, and production build deployment.
Multi-Page ApplicationNode.jsVue2
0 likes · 8 min read
