@@ -0,0 +1,17 @@
+#!/usr/bin/env sh
+
+set -e
+npm run build
+cd docs/.vuepress/dist
+git init
+git config user.name 'HcySunYang'
+git config user.email 'HcySunYang@outlook.com'
+git add -A
+git commit -m 'deploy'
+git push -f git@github.com:HcySunYang/vue-design.git master:gh-pages
+cd -
@@ -1,5 +1,5 @@
module.exports = {
- base: '/',
+ base: '/vue-design/',
title: '走进Vue源码',
description: '逐行级别的 Vue 源码分析',
markdown: {
@@ -2259,10 +2259,5 @@ function _traverse (val: any, seen: SimpleSet) {
以上就是深度观测的实现以及避免循环引用造成的死循环的解决方案。
-## 避免收集无用依赖
-
-这不同于收集重复的依赖
## 计算属性的实现