Skip to content

Commit 7aaedcf

Browse files
committed
feat(plugin): add @vuepress/plugin-back-to-top
1 parent 8623203 commit 7aaedcf

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

docs/.vuepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
'@vuepress/google-analytics': {
2121
ga: 'UA-58599811-1', // GoogleAnalytics ID (optional. use your own ga)
2222
},
23+
'@vuepress/back-to-top': {},
2324
},
2425

2526
themeConfig: {

package-lock.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
}
1818
},
1919
"dependencies": {
20+
"@vuepress/plugin-back-to-top": "^1.8.0",
2021
"@vuepress/plugin-google-analytics": "^1.8.0",
2122
"vuepress": "^1.8.0"
2223
},

0 commit comments

Comments
 (0)