Skip to content

Commit

Permalink
feat: add table-of-contents plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed May 21, 2019
1 parent eb04a8f commit 46423c3
Show file tree
Hide file tree
Showing 3 changed files with 949 additions and 815 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Expand Up @@ -27,6 +27,7 @@ module.exports = (opts, ctx) => {
['vuepress-plugin-container', { type: 'danger' }],
'vuepress-plugin-nprogress',
['vuepress-plugin-smooth-scroll', opts.plugins['smooth-scroll'] || {}],
'vuepress-plugin-table-of-contents',
['vuepress-plugin-zooming', opts.plugins['zooming'] || {}],
],

Expand Down
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -35,7 +35,7 @@
]
},
"peerDependencies": {
"vuepress": "1.0.0-alpha.44"
"vuepress": "1.0.0-alpha.48"
},
"dependencies": {
"@vssue/vuepress-plugin-vssue": "^0.8.1",
Expand All @@ -49,6 +49,7 @@
"vuepress-plugin-container": "^1.1.1",
"vuepress-plugin-nprogress": "^1.1.0",
"vuepress-plugin-smooth-scroll": "^0.0.3",
"vuepress-plugin-table-of-contents": "^1.0.0",
"vuepress-plugin-zooming": "^1.0.0"
},
"devDependencies": {
Expand All @@ -62,6 +63,6 @@
"eslint-plugin-vue": "^5.0.0",
"husky": "^1.3.0",
"lint-staged": "^8.1.0",
"vuepress": "1.0.0-alpha.44"
"vuepress": "1.0.0-alpha.48"
}
}

0 comments on commit 46423c3

Please sign in to comment.