// the find
ustbhuangyi/vue-analysis
:thumbsup: Vue.js 源码分析
A Chinese-language deep-dive into Vue 2.x source code, structured as an e-book covering reactivity, the virtual DOM, the compiler pipeline, Vue Router, and Vuex. It's for developers who already use Vue and want to understand what's actually happening under the hood — not a tutorial for beginners.
The structure is genuinely good: it follows the actual execution path from `new Vue` through mount, render, patch, and update rather than just cataloguing APIs. Including the actual Vue 2.x source in the repo alongside the docs means you can read the analysis and jump straight to the code being discussed. The compiler chapter covering parse → optimize → codegen is one of the cleaner explanations of that pipeline you'll find anywhere. Coverage of Vue Router internals (matcher, history modes, transition-to) goes further than most community writeups.
This is frozen at Vue 2.5.17-beta.0 — Vue 3's Proxy-based reactivity, the Composition API, and the completely rewritten compiler aren't here, and the v3 section in the repo is essentially a stub with one index file. The content is entirely in Chinese, which cuts the potential audience in half. Last meaningful update was 2023 and Vue 2 reached end-of-life in December 2023, so this is now a historical document rather than living reference. There's no runnable code or exercises — it's read-only prose, so you have to set up your own debugging environment to follow along.