添加搜索功能-Beta

This commit is contained in:
LingASDJ 2023-05-11 09:15:05 +08:00
parent 511461aed7
commit 7baf405c61

View File

@ -44,5 +44,29 @@ export default defineConfig({
message: "Rosy-Code Ling Web Stuido",
copyright: "Copyright © 2023-RW-API-Code",
},
search: {
provider: 'local',
options: {
locales: {
zh: {
translations: {
button: {
buttonText: '搜索文档',
buttonAriaLabel: '搜索文档'
},
modal: {
noResultsText: '无法找到相关结果',
resetButtonTitle: '清除查询条件',
footer: {
selectText: '选择',
navigateText: '切换'
}
}
}
}
}
}
}
}
})