diff --git a/.vuepress/config.js b/.vuepress/config.js index 2bfd39b..5c65163 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -6,14 +6,23 @@ module.exports = { }, dest: 'docs', serviceWorker: true, - plugins: [ - [ - '@vuepress/google-analytics', - { - ga: 'UA-144196556-1', + plugins: { + '@vuepress/google-analytics': + { + ga: 'UA-144196556-1', + }, + '@vuepress/back-to-top': {}, + '@vuepress/last-updated': {}, + '@vuepress/medium-zoom': {}, + '@vuepress/nprogress': {}, + '@vuepress/pwa': { + serviceWorker: true, + updatePopup: { + message: "内容已更新", + buttonText: "刷新" } - ] - ], + } + }, themeConfig: { nav: [ { text: '简介', link: '/overview/' }, diff --git a/docs/404.html b/docs/404.html index 3b522a8..1eb73cb 100644 --- a/docs/404.html +++ b/docs/404.html @@ -7,11 +7,11 @@ - - + +
-