Skip to content

Commit 01fa9af

Browse files
committed
chore($theme-default): using search plugin
1 parent 63555c0 commit 01fa9af

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: packages/@vuepress/theme-default/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const themePlugin = require('./plugin')
44
module.exports = {
55
plugins: [
66
themePlugin,
7-
'@vuepress/active-header-links'
7+
'@vuepress/active-header-links',
8+
'@vuepress/search'
89
]
910
}

Diff for: packages/@vuepress/theme-default/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@
2424
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/theme-default#readme",
2525
"dependencies": {
2626
"@vuepress/plugin-active-header-links": "1.0.0",
27+
"@vuepress/plugin-search": "1.0.0",
2728
"docsearch.js": "^2.5.2",
2829
"nprogress": "^0.2.0",
2930
"stylus": "^0.54.5",
3031
"stylus-loader": "^3.0.2"
3132
}
32-
}
33+
}

0 commit comments

Comments
 (0)