Skip to content

Commit 5a3dcd5

Browse files
author
reco_luan
committed
feat: add vuepress-plugin-smooth-scroll
1 parent 391a7c6 commit 5a3dcd5

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

packages/vuepress-theme-reco/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ module.exports = (options, ctx) => ({
5454
}
5555
]
5656
}],
57+
'vuepress-plugin-smooth-scroll',
5758
['container', {
5859
type: 'tip',
5960
defaultTitle: {

packages/vuepress-theme-reco/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"@vuepress/plugin-medium-zoom": "1.5.0",
2828
"docsearch.js": "2.6.3",
2929
"md5": "2.2.1",
30-
"vue-click-outside": "1.1.0"
30+
"vue-click-outside": "1.1.0",
31+
"vuepress-plugin-smooth-scroll": "^0.0.9"
3132
},
3233
"gitHead": "c3a1db8487bece9341b6269a0f6ebf910cd5462a",
3334
"_from": "vuepress-theme-reco@0.2.1",

yarn.lock

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,10 +2457,6 @@ ascli@~1:
24572457
asn1.js@^4.0.0:
24582458
version "4.10.1"
24592459
resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0"
2460-
dependencies:
2461-
bn.js "^4.0.0"
2462-
inherits "^2.0.1"
2463-
minimalistic-assert "^1.0.0"
24642460

24652461
asn1@~0.2.3:
24662462
version "0.2.4"
@@ -9321,7 +9317,7 @@ smart-buffer@^4.1.0:
93219317
version "4.1.0"
93229318
resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.1.0.tgz#91605c25d91652f4661ea69ccf45f1b331ca21ba"
93239319

9324-
smoothscroll-polyfill@^0.4.3:
9320+
smoothscroll-polyfill@^0.4.3, smoothscroll-polyfill@^0.4.4:
93259321
version "0.4.4"
93269322
resolved "https://registry.yarnpkg.com/smoothscroll-polyfill/-/smoothscroll-polyfill-0.4.4.tgz#3a259131dc6930e6ca80003e1cb03b603b69abf8"
93279323

@@ -10383,8 +10379,6 @@ util.promisify@~1.0.0:
1038310379
util@0.10.3:
1038410380
version "0.10.3"
1038510381
resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9"
10386-
dependencies:
10387-
inherits "2.0.1"
1038810382

1038910383
util@^0.11.0:
1039010384
version "0.11.1"
@@ -10621,6 +10615,13 @@ vuepress-plugin-smooth-scroll@^0.0.3:
1062110615
dependencies:
1062210616
smoothscroll-polyfill "^0.4.3"
1062310617

10618+
vuepress-plugin-smooth-scroll@^0.0.9:
10619+
version "0.0.9"
10620+
resolved "http://r.npm.sankuai.com/vuepress-plugin-smooth-scroll/download/vuepress-plugin-smooth-scroll-0.0.9.tgz#6c5d01db60def3d7b976b53404e56b97da9e8f39"
10621+
integrity sha1-bF0B22De89e5drU0BOVrl9qejzk=
10622+
dependencies:
10623+
smoothscroll-polyfill "^0.4.4"
10624+
1062410625
vuepress@^1.5.0:
1062510626
version "1.5.0"
1062610627
resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-1.5.0.tgz#690ed2b190844c2e53665df1e211a5fb107a8de7"

0 commit comments

Comments
 (0)