hsb 1 年之前
父节点
当前提交
8c335e1ef8
共有 100 个文件被更改,包括 8 次插入8 次删除
  1. 0 0
      404.html
  2. 0 0
      about/index.html
  3. 0 0
      archives/index.html
  4. 0 0
      assets/js/100.08a8b2d8.js
  5. 0 0
      assets/js/101.2aabb12c.js
  6. 0 0
      assets/js/102.13f3cc4d.js
  7. 0 0
      assets/js/103.c19aee03.js
  8. 0 0
      assets/js/105.71de1aa4.js
  9. 0 0
      assets/js/106.207422de.js
  10. 0 0
      assets/js/108.87ddbf21.js
  11. 0 0
      assets/js/109.de6075c6.js
  12. 0 0
      assets/js/110.f19c57ae.js
  13. 0 0
      assets/js/115.4fb547bf.js
  14. 0 0
      assets/js/116.2ddf1aa8.js
  15. 0 0
      assets/js/122.6c7dd225.js
  16. 0 0
      assets/js/123.dbff103c.js
  17. 1 1
      assets/js/124.493776ef.js
  18. 0 0
      assets/js/126.2421fe84.js
  19. 0 0
      assets/js/128.6543adba.js
  20. 0 0
      assets/js/129.d7c56b92.js
  21. 0 0
      assets/js/130.593d21f0.js
  22. 0 0
      assets/js/131.4c90d8b8.js
  23. 0 0
      assets/js/132.4ad12bdc.js
  24. 0 0
      assets/js/133.485de1b9.js
  25. 0 0
      assets/js/134.78bc8f57.js
  26. 0 0
      assets/js/135.47498729.js
  27. 0 0
      assets/js/136.d99350df.js
  28. 0 0
      assets/js/138.d976c801.js
  29. 0 0
      assets/js/139.766f20b7.js
  30. 0 0
      assets/js/140.0d9b8fbc.js
  31. 0 0
      assets/js/141.128b6e26.js
  32. 0 0
      assets/js/142.e004a584.js
  33. 0 0
      assets/js/143.5a19a0b2.js
  34. 0 0
      assets/js/144.5f397211.js
  35. 0 0
      assets/js/145.cde5f3a0.js
  36. 0 0
      assets/js/146.4185092c.js
  37. 0 0
      assets/js/147.ac0e55d3.js
  38. 0 0
      assets/js/148.30f02604.js
  39. 1 1
      assets/js/154.a3acc6bf.js
  40. 0 0
      assets/js/155.b5c0abcd.js
  41. 0 0
      assets/js/157.fe92af0c.js
  42. 0 0
      assets/js/16.871928af.js
  43. 0 0
      assets/js/160.b581a0f4.js
  44. 1 1
      assets/js/162.cec1b9a3.js
  45. 0 0
      assets/js/163.a00f98f7.js
  46. 0 0
      assets/js/164.cbf4cf52.js
  47. 0 0
      assets/js/165.bc7a523a.js
  48. 0 0
      assets/js/166.ca626fb4.js
  49. 0 0
      assets/js/167.0ca68106.js
  50. 0 0
      assets/js/168.2e605db8.js
  51. 0 0
      assets/js/169.401b96d4.js
  52. 0 0
      assets/js/17.2399cb2b.js
  53. 0 0
      assets/js/170.7c8b0366.js
  54. 0 0
      assets/js/171.c3155533.js
  55. 1 1
      assets/js/172.b659d767.js
  56. 0 0
      assets/js/173.62c681db.js
  57. 0 0
      assets/js/174.5c66f092.js
  58. 0 0
      assets/js/175.d41dd28b.js
  59. 0 0
      assets/js/176.e60d7f0a.js
  60. 0 0
      assets/js/177.10de95b1.js
  61. 0 0
      assets/js/178.f301674d.js
  62. 1 1
      assets/js/18.c338fe95.js
  63. 0 0
      assets/js/180.d2a4e612.js
  64. 0 0
      assets/js/181.a53e32e0.js
  65. 0 0
      assets/js/182.38687994.js
  66. 0 0
      assets/js/183.544fef00.js
  67. 0 0
      assets/js/184.711e54a6.js
  68. 0 0
      assets/js/185.20075148.js
  69. 0 0
      assets/js/186.08c67f20.js
  70. 0 0
      assets/js/187.7ca2d0c6.js
  71. 0 0
      assets/js/188.cd167879.js
  72. 0 0
      assets/js/189.e8e2eb21.js
  73. 0 0
      assets/js/190.8b557318.js
  74. 0 0
      assets/js/191.10d0f80b.js
  75. 0 0
      assets/js/192.127fef4c.js
  76. 0 0
      assets/js/193.781690eb.js
  77. 0 0
      assets/js/194.4b375e2e.js
  78. 0 0
      assets/js/195.003e3d67.js
  79. 0 0
      assets/js/196.7a3f55e5.js
  80. 0 0
      assets/js/197.30d4c5b4.js
  81. 0 0
      assets/js/198.628c2c1a.js
  82. 0 0
      assets/js/199.d7c8cbb8.js
  83. 0 0
      assets/js/2.106f41fb.js
  84. 0 0
      assets/js/2.c241a1b0.js
  85. 0 0
      assets/js/206.ed726599.js
  86. 0 0
      assets/js/207.c3794556.js
  87. 0 0
      assets/js/208.416f7a9e.js
  88. 0 0
      assets/js/209.d396aad5.js
  89. 0 0
      assets/js/210.02e4ee2f.js
  90. 1 1
      assets/js/211.0f8a9304.js
  91. 0 0
      assets/js/212.9220dd3d.js
  92. 1 1
      assets/js/213.89521ebd.js
  93. 1 1
      assets/js/214.cd5ec468.js
  94. 0 0
      assets/js/215.0084d772.js
  95. 0 0
      assets/js/216.ebd468b9.js
  96. 0 0
      assets/js/217.fac21407.js
  97. 0 0
      assets/js/218.9793e19a.js
  98. 0 0
      assets/js/221.97268a80.js
  99. 0 0
      assets/js/222.22bf261f.js
  100. 0 0
      assets/js/229.fd44d2be.js

文件差异内容过多而无法显示
+ 0 - 0
404.html


文件差异内容过多而无法显示
+ 0 - 0
about/index.html


文件差异内容过多而无法显示
+ 0 - 0
archives/index.html


文件差异内容过多而无法显示
+ 0 - 0
assets/js/100.08a8b2d8.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/101.2aabb12c.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/102.13f3cc4d.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/103.c19aee03.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/105.71de1aa4.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/106.207422de.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/108.87ddbf21.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/109.de6075c6.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/110.f19c57ae.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/115.4fb547bf.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/116.2ddf1aa8.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/122.6c7dd225.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/123.dbff103c.js


+ 1 - 1
assets/js/124.d380c979.js → assets/js/124.493776ef.js

@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[124],{453:function(t,n,s){"use strict";s.r(n);var i=s(3),r=Object(i.a)({},(function(){var t=this._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[t("p",[t("img",{attrs:{src:"/img/git.png",alt:"Git命令思维导图"}})])])}),[],!1,null,null,null);n.default=r.exports}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[124],{454:function(t,n,s){"use strict";s.r(n);var i=s(3),r=Object(i.a)({},(function(){var t=this._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[t("p",[t("img",{attrs:{src:"/img/git.png",alt:"Git命令思维导图"}})])])}),[],!1,null,null,null);n.default=r.exports}}]);

文件差异内容过多而无法显示
+ 0 - 0
assets/js/126.2421fe84.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/128.6543adba.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/129.d7c56b92.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/130.593d21f0.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/131.4c90d8b8.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/132.4ad12bdc.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/133.485de1b9.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/134.78bc8f57.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/135.47498729.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/136.d99350df.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/138.d976c801.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/139.766f20b7.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/140.0d9b8fbc.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/141.128b6e26.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/142.e004a584.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/143.5a19a0b2.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/144.5f397211.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/145.cde5f3a0.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/146.4185092c.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/147.ac0e55d3.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/148.30f02604.js


+ 1 - 1
assets/js/154.8ab912b6.js → assets/js/154.a3acc6bf.js

@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[154],{484:function(t,s,n){"use strict";n.r(s);var r=n(3),a=Object(r.a)({},(function(){var t=this._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[t("h1",{attrs:{id:"_01-高级指引"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#_01-高级指引"}},[this._v("#")]),this._v(" 01.高级指引")])])}),[],!1,null,null,null);s.default=a.exports}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[154],{483:function(t,s,n){"use strict";n.r(s);var r=n(3),a=Object(r.a)({},(function(){var t=this._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[t("h1",{attrs:{id:"_01-高级指引"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#_01-高级指引"}},[this._v("#")]),this._v(" 01.高级指引")])])}),[],!1,null,null,null);s.default=a.exports}}]);

文件差异内容过多而无法显示
+ 0 - 0
assets/js/155.b5c0abcd.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/157.fe92af0c.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/16.871928af.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/160.b581a0f4.js


+ 1 - 1
assets/js/162.86431056.js → assets/js/162.cec1b9a3.js

@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[162],{490:function(s,a,t){"use strict";t.r(a);var e=t(3),r=Object(e.a)({},(function(){var s=this,a=s._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[a("h1",{attrs:{id:"安装-typescript"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#安装-typescript"}},[s._v("#")]),s._v(" 安装 TypeScript")]),s._v(" "),a("p",[s._v("命令行运行如下命令,全局安装 TypeScript:")]),s._v(" "),a("div",{staticClass:"language-bash line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-bash"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[s._v("npm")]),s._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[s._v("install")]),s._v(" "),a("span",{pre:!0,attrs:{class:"token parameter variable"}},[s._v("-g")]),s._v(" typescript\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br")])]),a("p",[s._v("安装完成后,在控制台运行如下命令,检查安装是否成功(3.x):")]),s._v(" "),a("div",{staticClass:"language-bash line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-bash"}},[a("code",[s._v("tsc "),a("span",{pre:!0,attrs:{class:"token parameter variable"}},[s._v("-V")]),s._v("\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br")])])])}),[],!1,null,null,null);a.default=r.exports}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[162],{548:function(s,a,t){"use strict";t.r(a);var e=t(3),r=Object(e.a)({},(function(){var s=this,a=s._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[a("h1",{attrs:{id:"安装-typescript"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#安装-typescript"}},[s._v("#")]),s._v(" 安装 TypeScript")]),s._v(" "),a("p",[s._v("命令行运行如下命令,全局安装 TypeScript:")]),s._v(" "),a("div",{staticClass:"language-bash line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-bash"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[s._v("npm")]),s._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[s._v("install")]),s._v(" "),a("span",{pre:!0,attrs:{class:"token parameter variable"}},[s._v("-g")]),s._v(" typescript\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br")])]),a("p",[s._v("安装完成后,在控制台运行如下命令,检查安装是否成功(3.x):")]),s._v(" "),a("div",{staticClass:"language-bash line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-bash"}},[a("code",[s._v("tsc "),a("span",{pre:!0,attrs:{class:"token parameter variable"}},[s._v("-V")]),s._v("\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br")])])])}),[],!1,null,null,null);a.default=r.exports}}]);

文件差异内容过多而无法显示
+ 0 - 0
assets/js/163.a00f98f7.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/164.cbf4cf52.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/165.bc7a523a.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/166.ca626fb4.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/167.0ca68106.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/168.2e605db8.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/169.401b96d4.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/17.2399cb2b.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/170.7c8b0366.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/171.c3155533.js


+ 1 - 1
assets/js/172.44d1d022.js → assets/js/172.b659d767.js

@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[172],{499:function(t,e,s){"use strict";s.r(e);var a=s(3),r=Object(a.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"需求分析"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#需求分析"}},[t._v("#")]),t._v(" 需求分析")]),t._v(" "),e("p",[t._v("接下来的章节,我们会使用 TypeScript 来重构 axios,重构之前,我们需要简单地做一些需求分析,看一下我们这次重构需要支持哪些 feature。")]),t._v(" "),e("h2",{attrs:{id:"features"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#features"}},[t._v("#")]),t._v(" Features")]),t._v(" "),e("ul",[e("li",[t._v("在浏览器端使用 XMLHttpRequest 对象通讯")]),t._v(" "),e("li",[t._v("支持 Promise API")]),t._v(" "),e("li",[t._v("支持请求和响应的拦截器")]),t._v(" "),e("li",[t._v("支持请求数据和响应数据的转换")]),t._v(" "),e("li",[t._v("支持请求的取消")]),t._v(" "),e("li",[t._v("JSON 数据的自动转换")]),t._v(" "),e("li",[t._v("客户端防止 XSRF")])]),t._v(" "),e("p",[t._v("此外,我们还会支持一些 axios 库支持的一些其它的 feature。这里要注意的,我们这次重构不包括 axios 在 Node 中的实现,因为这部分我们在平时项目中应用的很少,还涉及到很多 Node.js 的知识,如果都讲的话,一是比较占用时间,另一个可能会喧宾夺主了。当然,这部分知识点我会根据同学们学习的反馈,如果大家很感兴趣想学习的话,我就作为课程的补充内容加到后期视频的扩展中,也当做课程的福利送给大家,所以大家务必要支持一下正版课程喔~")]),t._v(" "),e("p",[t._v("那么接下来我们就开始初始化项目吧!")])])}),[],!1,null,null,null);e.default=r.exports}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[172],{501:function(t,e,s){"use strict";s.r(e);var a=s(3),r=Object(a.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"需求分析"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#需求分析"}},[t._v("#")]),t._v(" 需求分析")]),t._v(" "),e("p",[t._v("接下来的章节,我们会使用 TypeScript 来重构 axios,重构之前,我们需要简单地做一些需求分析,看一下我们这次重构需要支持哪些 feature。")]),t._v(" "),e("h2",{attrs:{id:"features"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#features"}},[t._v("#")]),t._v(" Features")]),t._v(" "),e("ul",[e("li",[t._v("在浏览器端使用 XMLHttpRequest 对象通讯")]),t._v(" "),e("li",[t._v("支持 Promise API")]),t._v(" "),e("li",[t._v("支持请求和响应的拦截器")]),t._v(" "),e("li",[t._v("支持请求数据和响应数据的转换")]),t._v(" "),e("li",[t._v("支持请求的取消")]),t._v(" "),e("li",[t._v("JSON 数据的自动转换")]),t._v(" "),e("li",[t._v("客户端防止 XSRF")])]),t._v(" "),e("p",[t._v("此外,我们还会支持一些 axios 库支持的一些其它的 feature。这里要注意的,我们这次重构不包括 axios 在 Node 中的实现,因为这部分我们在平时项目中应用的很少,还涉及到很多 Node.js 的知识,如果都讲的话,一是比较占用时间,另一个可能会喧宾夺主了。当然,这部分知识点我会根据同学们学习的反馈,如果大家很感兴趣想学习的话,我就作为课程的补充内容加到后期视频的扩展中,也当做课程的福利送给大家,所以大家务必要支持一下正版课程喔~")]),t._v(" "),e("p",[t._v("那么接下来我们就开始初始化项目吧!")])])}),[],!1,null,null,null);e.default=r.exports}}]);

文件差异内容过多而无法显示
+ 0 - 0
assets/js/173.62c681db.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/174.5c66f092.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/175.d41dd28b.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/176.e60d7f0a.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/177.10de95b1.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/178.f301674d.js


+ 1 - 1
assets/js/18.f17de23a.js → assets/js/18.c338fe95.js

@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{347:function(t,s,a){"use strict";a.r(s);var e=a(3),n=Object(e.a)({},(function(){var t=this,s=t._self._c;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h2",{attrs:{id:"测试文件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#测试文件"}},[t._v("#")]),t._v(" 测试文件")]),t._v(" "),s("p",[t._v("Test Test")]),t._v(" "),s("code-group",[s("code-block",{attrs:{title:"YARN",active:""}},[s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[t._v("yarn")]),t._v(" create vuepress-site "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("optionalDirectoryName"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("# OR npx create-vuepress-site [optionalDirectoryName]")]),t._v("\n")])]),t._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[t._v("1")]),s("br"),s("span",{staticClass:"line-number"},[t._v("2")]),s("br")])])]),t._v(" "),s("code-block",{attrs:{title:"NPM"}},[s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[t._v("npx create-vuepress-site "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("optionalDirectoryName"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n")])]),t._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[t._v("1")]),s("br")])])])],1)],1)}),[],!1,null,null,null);s.default=n.exports}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{346:function(t,s,a){"use strict";a.r(s);var e=a(3),n=Object(e.a)({},(function(){var t=this,s=t._self._c;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h2",{attrs:{id:"测试文件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#测试文件"}},[t._v("#")]),t._v(" 测试文件")]),t._v(" "),s("p",[t._v("Test Test")]),t._v(" "),s("code-group",[s("code-block",{attrs:{title:"YARN",active:""}},[s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[t._v("yarn")]),t._v(" create vuepress-site "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("optionalDirectoryName"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("# OR npx create-vuepress-site [optionalDirectoryName]")]),t._v("\n")])]),t._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[t._v("1")]),s("br"),s("span",{staticClass:"line-number"},[t._v("2")]),s("br")])])]),t._v(" "),s("code-block",{attrs:{title:"NPM"}},[s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[t._v("npx create-vuepress-site "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("optionalDirectoryName"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n")])]),t._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[t._v("1")]),s("br")])])])],1)],1)}),[],!1,null,null,null);s.default=n.exports}}]);

文件差异内容过多而无法显示
+ 0 - 0
assets/js/180.d2a4e612.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/181.a53e32e0.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/182.38687994.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/183.544fef00.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/184.711e54a6.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/185.20075148.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/186.08c67f20.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/187.7ca2d0c6.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/188.cd167879.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/189.e8e2eb21.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/190.8b557318.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/191.10d0f80b.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/192.127fef4c.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/193.781690eb.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/194.4b375e2e.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/195.003e3d67.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/196.7a3f55e5.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/197.30d4c5b4.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/198.628c2c1a.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/199.d7c8cbb8.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/2.106f41fb.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/2.c241a1b0.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/206.ed726599.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/207.c3794556.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/208.416f7a9e.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/209.d396aad5.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/210.02e4ee2f.js


+ 1 - 1
assets/js/211.de944cbe.js → assets/js/211.0f8a9304.js

@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[211],{541:function(t,e,s){"use strict";s.r(e);var v=s(3),o=Object(v.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("div",{staticClass:"custom-block tip"},[e("p",{staticClass:"custom-block-title"},[t._v("提示")]),t._v(" "),e("p",[t._v("说明:本章内容是博主的Vue学习笔记,以"),e("a",{attrs:{href:"https://cn.vuejs.org/v2/guide/",target:"_blank",rel:"noopener noreferrer"}},[t._v("官方文档"),e("OutboundLink")],1),t._v("为准。")])]),t._v(" "),e("h1",{attrs:{id:"mvvm模式"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#mvvm模式"}},[t._v("#")]),t._v(" MVVM模式")]),t._v(" "),e("p",[t._v("MVVM模式,"),e("code",[t._v("M")]),t._v("即 model,数据模型;"),e("code",[t._v("V")]),t._v("即 view,视图;"),e("code",[t._v("VM")]),t._v("即 view-model,视图模型。\n"),t._v(" "),e("img",{attrs:{src:"https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200204123438.png",alt:""}})]),t._v(" "),e("p",[e("strong",[t._v("理解")])]),t._v(" "),e("p",[t._v("首先,数据Model通过Data Bindings把数据绑定在View视图上,")]),t._v(" "),e("p",[t._v("当View视图有交互(有改变)的时候,Dom listeners会自动监听,然后更新数据Model。")]),t._v(" "),e("p",[e("strong",[t._v("Q:什么是MVVM模式?")])]),t._v(" "),e("p",[t._v("A:MVVM模式,第一个M代表数据模型,V代表视图,VM代表视图模型;\n它的实际操作原理是:后台数据通过视图模型来渲染视图,就是页面。当用户在页面上进行操作的时候,\n视图模型会自动监听到用户的操作,从而改变后台数据。")])])}),[],!1,null,null,null);e.default=o.exports}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[211],{540:function(t,e,s){"use strict";s.r(e);var v=s(3),o=Object(v.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("div",{staticClass:"custom-block tip"},[e("p",{staticClass:"custom-block-title"},[t._v("提示")]),t._v(" "),e("p",[t._v("说明:本章内容是博主的Vue学习笔记,以"),e("a",{attrs:{href:"https://cn.vuejs.org/v2/guide/",target:"_blank",rel:"noopener noreferrer"}},[t._v("官方文档"),e("OutboundLink")],1),t._v("为准。")])]),t._v(" "),e("h1",{attrs:{id:"mvvm模式"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#mvvm模式"}},[t._v("#")]),t._v(" MVVM模式")]),t._v(" "),e("p",[t._v("MVVM模式,"),e("code",[t._v("M")]),t._v("即 model,数据模型;"),e("code",[t._v("V")]),t._v("即 view,视图;"),e("code",[t._v("VM")]),t._v("即 view-model,视图模型。\n"),t._v(" "),e("img",{attrs:{src:"https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200204123438.png",alt:""}})]),t._v(" "),e("p",[e("strong",[t._v("理解")])]),t._v(" "),e("p",[t._v("首先,数据Model通过Data Bindings把数据绑定在View视图上,")]),t._v(" "),e("p",[t._v("当View视图有交互(有改变)的时候,Dom listeners会自动监听,然后更新数据Model。")]),t._v(" "),e("p",[e("strong",[t._v("Q:什么是MVVM模式?")])]),t._v(" "),e("p",[t._v("A:MVVM模式,第一个M代表数据模型,V代表视图,VM代表视图模型;\n它的实际操作原理是:后台数据通过视图模型来渲染视图,就是页面。当用户在页面上进行操作的时候,\n视图模型会自动监听到用户的操作,从而改变后台数据。")])])}),[],!1,null,null,null);e.default=o.exports}}]);

文件差异内容过多而无法显示
+ 0 - 0
assets/js/212.9220dd3d.js


+ 1 - 1
assets/js/213.503671a6.js → assets/js/213.89521ebd.js

@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[213],{543:function(t,v,e){"use strict";e.r(v);var s=e(3),r=Object(s.a)({},(function(){var t=this,v=t._self._c;return v("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[v("h1",{attrs:{id:"计算属性-vs-方法-vs-侦听属性"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#计算属性-vs-方法-vs-侦听属性"}},[t._v("#")]),t._v(" 计算属性 vs 方法 vs 侦听属性")]),t._v(" "),v("p",[v("a",{attrs:{href:"https://cn.vuejs.org/v2/guide/computed.html#%E8%AE%A1%E7%AE%97%E5%B1%9E%E6%80%A7%E7%BC%93%E5%AD%98-vs-%E6%96%B9%E6%B3%95",target:"_blank",rel:"noopener noreferrer"}},[t._v("API"),v("OutboundLink")],1)]),t._v(" "),v("p",[t._v("如果一个功能同时可以使用计算属性(computed)、方法(methods)、侦听属性(watch)来实现的时候推荐使用计算属性。\n")]),t._v(" "),v("table",[v("thead",[v("tr",[v("th",[t._v("计算属性")]),t._v(" "),v("th",[t._v("方法")]),t._v(" "),v("th",[t._v("侦听属性")])])]),t._v(" "),v("tbody",[v("tr",[v("td",[t._v("计算属性是基于它们的响应式依赖进行缓存的")]),t._v(" "),v("td",[t._v("每当触发重新渲染时,调用方法将"),v("strong",[t._v("总会")]),t._v("再次执行函数")]),t._v(" "),v("td",[t._v("有缓存,但相比计算属性,实现起来要复杂很多。")])])])])])}),[],!1,null,null,null);v.default=r.exports}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[213],{542:function(t,v,e){"use strict";e.r(v);var s=e(3),r=Object(s.a)({},(function(){var t=this,v=t._self._c;return v("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[v("h1",{attrs:{id:"计算属性-vs-方法-vs-侦听属性"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#计算属性-vs-方法-vs-侦听属性"}},[t._v("#")]),t._v(" 计算属性 vs 方法 vs 侦听属性")]),t._v(" "),v("p",[v("a",{attrs:{href:"https://cn.vuejs.org/v2/guide/computed.html#%E8%AE%A1%E7%AE%97%E5%B1%9E%E6%80%A7%E7%BC%93%E5%AD%98-vs-%E6%96%B9%E6%B3%95",target:"_blank",rel:"noopener noreferrer"}},[t._v("API"),v("OutboundLink")],1)]),t._v(" "),v("p",[t._v("如果一个功能同时可以使用计算属性(computed)、方法(methods)、侦听属性(watch)来实现的时候推荐使用计算属性。\n")]),t._v(" "),v("table",[v("thead",[v("tr",[v("th",[t._v("计算属性")]),t._v(" "),v("th",[t._v("方法")]),t._v(" "),v("th",[t._v("侦听属性")])])]),t._v(" "),v("tbody",[v("tr",[v("td",[t._v("计算属性是基于它们的响应式依赖进行缓存的")]),t._v(" "),v("td",[t._v("每当触发重新渲染时,调用方法将"),v("strong",[t._v("总会")]),t._v("再次执行函数")]),t._v(" "),v("td",[t._v("有缓存,但相比计算属性,实现起来要复杂很多。")])])])])])}),[],!1,null,null,null);v.default=r.exports}}]);

+ 1 - 1
assets/js/214.2be447ed.js → assets/js/214.cd5ec468.js

@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[214],{544:function(t,v,s){"use strict";s.r(v);var o=s(3),e=Object(o.a)({},(function(){var t=this,v=t._self._c;return v("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[v("h1",{attrs:{id:"v-if-vs-v-show"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#v-if-vs-v-show"}},[t._v("#")]),t._v(" v-if vs v-show")]),t._v(" "),v("p",[v("a",{attrs:{href:"https://cn.vuejs.org/v2/guide/conditional.html#v-if-vs-v-show",target:"_blank",rel:"noopener noreferrer"}},[t._v("API"),v("OutboundLink")],1)]),t._v(" "),v("p",[v("code",[t._v("v-if")]),t._v(" 根据渲染条件决定是否把元素渲染到DOM页面,而"),v("code",[t._v("v-show")]),t._v("不管渲染条件是什么,都会把元素渲染到DOM页面,只是简单的切换CSS的显示隐藏。\n"),t._v("\n如果需要非常频繁地切换,则使用 "),v("code",[t._v("v-show")]),t._v(" 较好;如果在运行时条件很少改变,则使用 "),v("code",[t._v("v-if")]),t._v(" 较好。")])])}),[],!1,null,null,null);v.default=e.exports}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[214],{543:function(t,v,s){"use strict";s.r(v);var o=s(3),e=Object(o.a)({},(function(){var t=this,v=t._self._c;return v("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[v("h1",{attrs:{id:"v-if-vs-v-show"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#v-if-vs-v-show"}},[t._v("#")]),t._v(" v-if vs v-show")]),t._v(" "),v("p",[v("a",{attrs:{href:"https://cn.vuejs.org/v2/guide/conditional.html#v-if-vs-v-show",target:"_blank",rel:"noopener noreferrer"}},[t._v("API"),v("OutboundLink")],1)]),t._v(" "),v("p",[v("code",[t._v("v-if")]),t._v(" 根据渲染条件决定是否把元素渲染到DOM页面,而"),v("code",[t._v("v-show")]),t._v("不管渲染条件是什么,都会把元素渲染到DOM页面,只是简单的切换CSS的显示隐藏。\n"),t._v("\n如果需要非常频繁地切换,则使用 "),v("code",[t._v("v-show")]),t._v(" 较好;如果在运行时条件很少改变,则使用 "),v("code",[t._v("v-if")]),t._v(" 较好。")])])}),[],!1,null,null,null);v.default=e.exports}}]);

文件差异内容过多而无法显示
+ 0 - 0
assets/js/215.0084d772.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/216.ebd468b9.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/217.fac21407.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/218.9793e19a.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/221.97268a80.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/222.22bf261f.js


文件差异内容过多而无法显示
+ 0 - 0
assets/js/229.fd44d2be.js


部分文件因为文件数量过多而无法显示