Skip to content

Commit c831598

Browse files
authored
Merge pull request #5 from Suzukaze7/main
modify plugin config
2 parents 5733a17 + be17335 commit c831598

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.vuepress/config.js

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,13 @@ export default defineUserConfig({
3737
contributors: false,
3838
darkmode: 'toggle',
3939
pageInfo: ['ReadingTime'],
40+
plugins: {
41+
mdEnhance: {
42+
footnote: true,
43+
imgLazyload: true
44+
},
45+
searchPro: true
46+
}
4047
}),
41-
plugins: [
42-
mdEnhance({
43-
footnote: true,
44-
imgLazyload: true
45-
}),
46-
searchProPlugin({
47-
indexContent: true,
48-
autoSuggestions: true
49-
})
50-
],
51-
5248
bundler: viteBundler({}),
5349
})

0 commit comments

Comments
 (0)