Tag

Vue2

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 20, 2025 · Frontend Development

Vue 2.0 vs Vue 3.0: Core Differences, Reactive System, Composition API, Lifecycle Hooks and Practical Code Examples

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 APIJavaScriptVue
0 likes · 25 min read
Vue 2.0 vs Vue 3.0: Core Differences, Reactive System, Composition API, Lifecycle Hooks and Practical Code Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 15, 2024 · Frontend Development

Integrating Echarts into UniApp Mini‑Programs: Vue2 and Vue3 Implementation Guide

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.

ChartingEChartsMiniProgram
0 likes · 12 min read
Integrating Echarts into UniApp Mini‑Programs: Vue2 and Vue3 Implementation Guide
JD Tech Talk
JD Tech Talk
Sep 25, 2024 · Frontend Development

Migrating a Webpack Project to Vite Using the Golden Circle Framework

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 ToolsMigrationVue2
0 likes · 13 min read
Migrating a Webpack Project to Vite Using the Golden Circle Framework
IT Services Circle
IT Services Circle
Jul 23, 2024 · Frontend Development

Vue2 vs Vue3: Differences, New Features, and Migration Guide

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
Vue2 vs Vue3: Differences, New Features, and Migration Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 3, 2024 · Frontend Development

Implementing QR Code Scanning in H5 with Vue2 Using html5-qrcode

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
Implementing QR Code Scanning in H5 with Vue2 Using html5-qrcode
JD Tech
JD Tech
Mar 15, 2023 · Frontend Development

Integrating Vite into Vue 2.x Projects: Compatibility, Configuration, and Migration Guide

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.

MigrationVue2bundling
0 likes · 13 min read
Integrating Vite into Vue 2.x Projects: Compatibility, Configuration, and Migration Guide
php中文网 Courses
php中文网 Courses
Mar 10, 2023 · Frontend Development

Differences Between Vue 2 and Vue 3: Reactivity, Runtime, Compiler, and New Features

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
Differences Between Vue 2 and Vue 3: Reactivity, Runtime, Compiler, and New Features
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 7, 2022 · Frontend Development

Understanding Vue.js Error Handling and Source Code Analysis

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.

JavaScriptSource CodeVue.js
0 likes · 15 min read
Understanding Vue.js Error Handling and Source Code Analysis
360 Tech Engineering
360 Tech Engineering
May 29, 2018 · Backend Development

Integrating ThinkJS with Vue2 for a Multi‑Page Project: Full Configuration Guide

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
Integrating ThinkJS with Vue2 for a Multi‑Page Project: Full Configuration Guide