Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vuejs/vue
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev
Choose a base ref
...
head repository: xkyong/vue2.6-source-code-learning
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on Mar 28, 2021

  1. '修改README.md文件'

    xkyong committed Mar 28, 2021
    Copy the full SHA
    467d58e View commit details

Commits on Apr 4, 2021

  1. '修改README.md文件'

    xkyong committed Apr 4, 2021
    Copy the full SHA
    ac40e70 View commit details

Commits on Feb 11, 2023

  1. Copy the full SHA
    ff0626c View commit details
  2. Copy the full SHA
    797ea09 View commit details

Commits on Feb 12, 2023

  1. Copy the full SHA
    88ccfe1 View commit details
  2. Copy the full SHA
    b31c205 View commit details

Commits on Sep 7, 2023

  1. docs(README): 文件中增加代码调试的说明

    文件中增加代码调试的说明
    xkyong committed Sep 7, 2023
    Copy the full SHA
    f85938b View commit details
  2. chore(img): 补充上传README文档中确实的图片资源

    补充上传README文档中确实的图片资源
    xkyong committed Sep 7, 2023
    Copy the full SHA
    d387e2e View commit details

Commits on Sep 9, 2023

  1. Copy the full SHA
    8e21d37 View commit details

Commits on Sep 10, 2023

  1. Copy the full SHA
    7ac44cb View commit details
  2. Copy the full SHA
    0c5fdbe View commit details

Commits on Sep 11, 2023

  1. Copy the full SHA
    e495cc2 View commit details
  2. Copy the full SHA
    24bf332 View commit details
  3. Copy the full SHA
    0ec6515 View commit details

Commits on Sep 13, 2023

  1. Copy the full SHA
    d445e8a View commit details

Commits on Sep 14, 2023

  1. Copy the full SHA
    d36e4cf View commit details

Commits on Sep 15, 2023

  1. Copy the full SHA
    b550e92 View commit details

Commits on Sep 17, 2023

  1. Copy the full SHA
    f346a72 View commit details
  2. Copy the full SHA
    4782494 View commit details
  3. Copy the full SHA
    acb18a8 View commit details
  4. Copy the full SHA
    e7cec78 View commit details
  5. Copy the full SHA
    c02f29d View commit details
  6. Copy the full SHA
    a4210a1 View commit details

Commits on Sep 21, 2023

  1. Copy the full SHA
    a3b3bdd View commit details

Commits on Sep 23, 2023

  1. Copy the full SHA
    b2a9f8f View commit details

Commits on Sep 24, 2023

  1. Copy the full SHA
    91e0573 View commit details

Commits on Sep 25, 2023

  1. Copy the full SHA
    e35bdc3 View commit details

Commits on Oct 15, 2023

  1. Copy the full SHA
    2a3f030 View commit details

Commits on Nov 26, 2023

  1. Copy the full SHA
    5ec4f5d View commit details
Showing with 25,180 additions and 10,382 deletions.
  1. +0 −1 .gitignore
  2. +404 −0 .vscode/bookmarks.json
  3. +6 −0 .vscode/settings.json
  4. +72 −1 README.md
  5. +0 −122 dist/README.md
  6. +175 −165 dist/vue.common.dev.js
  7. +0 −5 dist/vue.common.js
  8. +2 −2 dist/vue.common.prod.js
  9. +174 −163 dist/vue.esm.browser.js
  10. +2 −2 dist/vue.esm.browser.min.js
  11. +94 −101 dist/vue.esm.js
  12. +1,212 −197 dist/vue.js
  13. +2 −2 dist/vue.min.js
  14. +126 −127 dist/vue.runtime.common.dev.js
  15. +0 −5 dist/vue.runtime.common.js
  16. +2 −2 dist/vue.runtime.common.prod.js
  17. +74 −86 dist/vue.runtime.esm.js
  18. +128 −129 dist/vue.runtime.js
  19. +2 −2 dist/vue.runtime.min.js
  20. +33 −0 examples/00-vue-analysis/01-newVue.html
  21. +43 −0 examples/00-vue-analysis/02-vue-mount.html
  22. +41 −0 examples/00-vue-analysis/03-vm-render.html
  23. +21 −0 examples/00-vue-analysis/04-virtual-dom.html
  24. +42 −0 examples/00-vue-analysis/05-vm-createElement.html
  25. +57 −0 examples/00-vue-analysis/06-vm-update.html
  26. +15 −0 examples/00-vue-analysis/07-createComponent.html
  27. +20 −0 examples/00-vue-analysis/08-patch.html
  28. +18 −0 examples/00-vue-analysis/09-merge-config.html
  29. +16 −0 examples/00-vue-analysis/10-lifecycle.html
  30. +25 −0 examples/00-vue-analysis/11-component-register.html
  31. +22 −0 examples/00-vue-analysis/12-async-component.html
  32. +46 −0 examples/00-vue-analysis/13-reactive-object.html
  33. +65 −0 examples/00-vue-analysis/14-getter.html
  34. +61 −0 examples/00-vue-analysis/15-setter.html
  35. +54 −0 examples/00-vue-analysis/16-nextTick.html
  36. +84 −0 examples/00-vue-analysis/17-reactive-warning.html
  37. +76 −0 examples/00-vue-analysis/18-computed.html
  38. +143 −0 examples/00-vue-analysis/19-watch.html
  39. 0 examples/00-vue-analysis/20-props.html
  40. +24 −0 examples/01-runtime+compiler-and-runtimeOnly/runtime+compiler.html
  41. +27 −0 examples/01-runtime+compiler-and-runtimeOnly/runtime-only.html
  42. +23 −0 examples/02-render-and-template-test/index.html
  43. +21 −0 examples/03-initVue/index.html
  44. +57 −0 examples/03-initVue/initAssetRegisters.html
  45. +73 −0 examples/03-initVue/initExtend.html
  46. +40 −0 examples/03-initVue/initMixin.html
  47. +48 −0 examples/03-initVue/initUse.html
  48. +27 −0 examples/04-observe/index.html
  49. +27 −0 examples/05-observe-arr/index.html
  50. +30 −0 examples/06-set/index.html
  51. +3 −1 examples/grid/index.html
  52. +3 −0 examples/vue-cli-vue2.6-project/.browserslistrc
  53. +19 −0 examples/vue-cli-vue2.6-project/.eslintrc.js
  54. +23 −0 examples/vue-cli-vue2.6-project/.gitignore
  55. +24 −0 examples/vue-cli-vue2.6-project/README.md
  56. +3 −0 examples/vue-cli-vue2.6-project/babel.config.js
  57. +19 −0 examples/vue-cli-vue2.6-project/jsconfig.json
  58. +29 −0 examples/vue-cli-vue2.6-project/package.json
  59. BIN examples/vue-cli-vue2.6-project/public/favicon.ico
  60. +17 −0 examples/vue-cli-vue2.6-project/public/index.html
  61. +27 −0 examples/vue-cli-vue2.6-project/src/App.vue
  62. BIN examples/vue-cli-vue2.6-project/src/assets/logo.png
  63. +121 −0 examples/vue-cli-vue2.6-project/src/components/HelloWorld.vue
  64. +7 −0 examples/vue-cli-vue2.6-project/src/main.js
  65. +4 −0 examples/vue-cli-vue2.6-project/vue.config.js
  66. +6,167 −0 examples/vue-cli-vue2.6-project/yarn.lock
  67. BIN img/README/image-20210403155941682.png
  68. BIN img/README/image-20210403160117620.png
  69. BIN img/README/image-20210403160512990.png
  70. BIN img/README/image-20230202213557908.png
  71. BIN img/README/image-20230202213650750.png
  72. BIN img/README/newVue.png
  73. +13,476 −0 package-lock.json
  74. +4 −16 package.json
  75. +144 −281 packages/vue-server-renderer/basic.js
  76. +150 −283 packages/vue-server-renderer/build.dev.js
  77. +1 −1 packages/vue-server-renderer/build.prod.js
  78. +89 −137 packages/vue-template-compiler/browser.js
  79. +37 −106 packages/vue-template-compiler/build.js
  80. +14 −5 scripts/config.js
  81. +12 −0 src/core/global-api/assets.js
  82. +50 −0 src/core/global-api/extend.js
  83. +22 −0 src/core/global-api/index.js
  84. +4 −0 src/core/global-api/mixin.js
  85. +10 −1 src/core/global-api/use.js
  86. +3 −0 src/core/index.js
  87. +7 −0 src/core/instance/events.js
  88. +10 −0 src/core/instance/index.js
  89. +44 −0 src/core/instance/init.js
  90. +12 −2 src/core/instance/inject.js
  91. +66 −0 src/core/instance/lifecycle.js
  92. +1 −0 src/core/instance/proxy.js
  93. +1 −0 src/core/instance/render-helpers/index.js
  94. +16 −0 src/core/instance/render.js
  95. +95 −1 src/core/instance/state.js
  96. +17 −0 src/core/observer/array.js
  97. +14 −1 src/core/observer/dep.js
  98. +106 −2 src/core/observer/index.js
  99. +49 −0 src/core/observer/scheduler.js
  100. +6 −0 src/core/observer/traverse.js
  101. +61 −1 src/core/observer/watcher.js
  102. +9 −0 src/core/util/next-tick.js
  103. +65 −19 src/core/util/options.js
  104. +53 −1 src/core/vdom/create-component.js
  105. +27 −0 src/core/vdom/create-element.js
  106. +16 −0 src/core/vdom/helpers/normalize-children.js
  107. +33 −2 src/core/vdom/helpers/resolve-async-component.js
  108. +7 −0 src/core/vdom/helpers/update-listeners.js
  109. +146 −0 src/core/vdom/patch.js
  110. +23 −0 src/core/vdom/vnode.js
  111. +23 −1 src/platforms/web/entry-runtime-with-compiler.js
  112. +12 −0 src/platforms/web/runtime/index.js
  113. +2 −0 src/platforms/web/runtime/patch.js
  114. +23 −0 src/shared/util.js
  115. +0 −8,409 yarn.lock
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -16,4 +16,3 @@ packages/vue-server-renderer/build.js
packages/vue-server-renderer/server-plugin.js
packages/vue-server-renderer/client-plugin.js
packages/vue-template-compiler/build.js
.vscode
Loading