Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
enable default smooth scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
GlorifiedPig committed Sep 2, 2020
1 parent 39c032d commit 7e232ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
5 changes: 3 additions & 2 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ module.exports = {
normalSuffix: '',
indexSuffix: '/',
notFoundPath: '/404.html',
},
'vuepress-plugin-smooth-scroll'
}
],
],

themeConfig: {
smoothScroll: true,

sidebar: [
{
title: 'Fundamentals',
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@

"dependencies": {
"vuepress": "^1.5.4",
"vuepress-plugin-clean-urls": "^1.1.2",
"vuepress-plugin-smooth-scroll": "^0.0.10"
"vuepress-plugin-clean-urls": "^1.1.2"
},
"scripts": {
"docs:dev": "vuepress dev docs",
Expand Down
9 changes: 1 addition & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6577,7 +6577,7 @@ slash@^2.0.0:
resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==

smoothscroll-polyfill@^0.4.3, smoothscroll-polyfill@^0.4.4:
smoothscroll-polyfill@^0.4.3:
version "0.4.4"
resolved "https://registry.yarnpkg.com/smoothscroll-polyfill/-/smoothscroll-polyfill-0.4.4.tgz#3a259131dc6930e6ca80003e1cb03b603b69abf8"
integrity sha512-TK5ZA9U5RqCwMpfoMq/l1mrH0JAR7y7KRvOBx0n2869aLxch+gT9GhN3yUfjiw+d/DiF1mKo14+hd62JyMmoBg==
Expand Down Expand Up @@ -7521,13 +7521,6 @@ vuepress-plugin-container@^2.0.2:
"@vuepress/shared-utils" "^1.2.0"
markdown-it-container "^2.0.0"

vuepress-plugin-smooth-scroll@^0.0.10:
version "0.0.10"
resolved "https://registry.yarnpkg.com/vuepress-plugin-smooth-scroll/-/vuepress-plugin-smooth-scroll-0.0.10.tgz#6cb6926032bd5abd7b928df6e7b73b8dd31b5f9d"
integrity sha512-1B7cc0OxROX9aPdktTF6lGqASGh3h0mtiUCmbAVZfGDtTOGUYDDA1BhLV96zkz/v1Zh/UvKP2gF6ADrcV83BMg==
dependencies:
smoothscroll-polyfill "^0.4.4"

vuepress-plugin-smooth-scroll@^0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/vuepress-plugin-smooth-scroll/-/vuepress-plugin-smooth-scroll-0.0.3.tgz#6eff2d4c186cca917cc9f7df2b0af7de7c8c6438"
Expand Down

0 comments on commit 7e232ca

Please sign in to comment.