Skip to content
Script-XiaPublic

About

Vue 3 (v3.4.33) 源码阅读与学习仓库,包含响应式系统、渲染器 Diff、编译器等核心模块的调试示例与书签标注

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue3-core(Vue 3 源码阅读与学习仓库)

本仓库基于 vuejs/core(v3.4.33)构建,主要用作个人阅读、调试与学习 Vue 3 源码。

学习内容与目录说明

除 Vue 3 官方核心源码(packages/*)外,本仓库额外包含个人学习过程中的调试示例与源码书签:

  • 响应式系统调试示例(packages/reactivity/why/、packages/reactivity/why2/):涵盖 reactive、ref、readonly、computed、依赖嵌套与重新收集、computed 结合 watch 等场景。
  • 运行时与编译流程调试示例(packages/vue/why/、packages/vue/why2/):涵盖渲染流程、无 key / 有 key / Block Diff 算法、watch、watchEffect、nextTick、keep-alive 及编译器执行过程。
  • 源码阅读书签(.vscode/bookmarks.json):记录了 reactivity、runtime-core、runtime-dom、compiler-dom、vue、shared 等核心入口与关键函数位置(配合 VS Code Bookmarks 插件使用)。

本地调试方式

# 安装依赖
pnpm install

# 启动开发环境构建(带 sourcemap,便于浏览器断点调试)
pnpm dev

原始 vuejs/core README

vuejs/core npm build status Download

Getting Started

Please follow the documentation at vuejs.org!

Sponsors

Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider sponsoring Vue's development.

Special Sponsor

special sponsor appwrite

sponsors

Questions

For questions and support please use the official forum or community chat. The issue list of this repo is exclusively for bug reports and feature requests.

Issues

Please make sure to respect issue requirements and use the new issue helper when opening an issue. Issues not conforming to the guidelines may be closed immediately.

Stay In Touch

Contribution

Please make sure to read the Contributing Guide before making a pull request. If you have a Vue-related project/component/tool, add it with a pull request to this curated list!

Thank you to all the people who already contributed to Vue!

License

MIT

Copyright (c) 2013-present, Yuxi (Evan) You

About

Vue 3 (v3.4.33) 源码阅读与学习仓库,包含响应式系统、渲染器 Diff、编译器等核心模块的调试示例与书签标注

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages