Skip to content

Commit c939fc2

Browse files
author
sqrtthree
committed
feat: Enable active-header-links plugin
1 parent 6b61a2b commit c939fc2

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

β€Žindex.jsβ€Ž

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Noop.
2-
3-
// This file is required due to publish the theme as an npm package.
4-
// More details are https://v1.vuepress.vuejs.org/theme/writing-a-theme.html#directory-structure
5-
6-
module.exports = {}
1+
module.exports = {
2+
plugins: ['@vuepress/active-header-links'],
3+
}

β€Žpackage-lock.jsonβ€Ž

Lines changed: 13 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
@@ -34,6 +34,7 @@
3434
},
3535
"license": "MIT",
3636
"dependencies": {
37+
"@vuepress/plugin-active-header-links": "^1.3.0",
3738
"axios": "^0.19.0"
3839
},
3940
"devDependencies": {

0 commit comments

Comments
Β (0)