mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-12-01 19:27:47 +08:00
docs: 增加backToTop插件
This commit is contained in:
parent
3660291e14
commit
907879eac5
@ -1,8 +1,9 @@
|
||||
import { defineUserConfig } from '@vuepress/cli';
|
||||
import { defaultTheme } from '@vuepress/theme-default';
|
||||
import { docsearchPlugin } from '@vuepress/plugin-docsearch';
|
||||
import { pwaPopupPlugin } from '@vuepress/plugin-pwa-popup'
|
||||
import { pwaPlugin } from '@vuepress/plugin-pwa'
|
||||
import { pwaPopupPlugin } from '@vuepress/plugin-pwa-popup';
|
||||
import { pwaPlugin } from '@vuepress/plugin-pwa';
|
||||
import { backToTopPlugin } from '@vuepress/plugin-back-to-top'
|
||||
import { navbar, sidebar } from './configs';
|
||||
|
||||
export default defineUserConfig({
|
||||
@ -87,6 +88,7 @@ export default defineUserConfig({
|
||||
buttonText: '刷新',
|
||||
},
|
||||
},
|
||||
})
|
||||
}),
|
||||
backToTopPlugin()
|
||||
],
|
||||
});
|
||||
|
@ -42,6 +42,7 @@
|
||||
"@vuepress/plugin-docsearch": "2.0.0-beta.53",
|
||||
"@vuepress/plugin-pwa": "2.0.0-beta.53",
|
||||
"@vuepress/plugin-pwa-popup": "2.0.0-beta.53",
|
||||
"@vuepress/plugin-back-to-top": "2.0.0-beta.53",
|
||||
"@webank/eslint-config-webank": "^1.2.3",
|
||||
"chokidar": "^3.5.2",
|
||||
"commitizen": "^4.2.1",
|
||||
|
Loading…
Reference in New Issue
Block a user