diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index ad70d04dba..fe7c7a8ed3 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -26,6 +26,7 @@ module.exports = { serviceWorker: true, theme: 'vue', themeConfig: { + showScrollToTop: true, repo: 'vuejs/vuepress', editLinks: true, docsDir: 'docs', diff --git a/lib/default-theme/Page.vue b/lib/default-theme/Page.vue index 17957e7563..86245605b9 100644 --- a/lib/default-theme/Page.vue +++ b/lib/default-theme/Page.vue @@ -1,5 +1,6 @@ + + diff --git a/package.json b/package.json index 4a03b98e25..10e68bd773 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "koa-range": "^0.3.0", "koa-static": "^4.0.2", "loader-utils": "^1.1.0", + "lodash.debounce": "^4.0.8", "lodash.throttle": "^4.1.1", "lru-cache": "^4.1.2", "markdown-it": "^8.4.1",