Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xwwwb/vue-source-code
https://github.com/xwwwb/vue-source-code
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/xwwwb/vue-source-code
- Owner: xwwwb
- License: mit
- Created: 2024-03-01T08:17:14.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-04T09:14:28.000Z (10 months ago)
- Last Synced: 2024-11-06T12:22:50.594Z (2 months ago)
- Language: TypeScript
- Size: 717 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
基于最后一次提交为 bed04a7 的代码
参考资料:
[准备工作 | Vue.js 技术揭秘 (ustbhuangyi.github.io)](https://ustbhuangyi.github.io/vue-analysis/v2/prepare/)没有被完全读完的文件:
- [ ] src\core\util\debug.ts
笔记:
src/core/instance/index.ts
```js
initMixin(Vue); // 定义 _init
stateMixin(Vue); // 定义 $set $get $delete $watch 等
eventsMixin(Vue); // 定义事件 $on $once $off $emit
lifecycleMixin(Vue);// 定义 _update $forceUpdate $destroy
renderMixin(Vue); // 定义 _render 返回虚拟dom
```