Skip to content

Commit

Permalink
feat: Enable active-header-links plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
linhe0x0 committed Feb 15, 2020
1 parent 6b61a2b commit c939fc2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
9 changes: 3 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// Noop.

// This file is required due to publish the theme as an npm package.
// More details are https://v1.vuepress.vuejs.org/theme/writing-a-theme.html#directory-structure

module.exports = {}
module.exports = {
plugins: ['@vuepress/active-header-links'],
}
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
},
"license": "MIT",
"dependencies": {
"@vuepress/plugin-active-header-links": "^1.3.0",
"axios": "^0.19.0"
},
"devDependencies": {
Expand Down

0 comments on commit c939fc2

Please sign in to comment.