# vuepress-plugin-full-text-search2 **Repository Path**: rmxd/vuepress-plugin-full-text-search2 ## Basic Information - **Project Name**: vuepress-plugin-full-text-search2 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-08 - **Last Updated**: 2024-03-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vuepress-plugin-full-text-search2 [VuePress v2] plugin that adds full-text search box. ![screenshot](./screenshot.png) [vuepress v2]: https://v2.vuepress.vuejs.org/ :warning: WARNING: this project is considered to be in BETA until [VuePress v2] is available for general use and the API is stable! ## Usage ```shell npm i -D vuepress-plugin-full-text-search2 ``` e.g. `.vuepress/config.js` ```js import fullTextSearchPlugin from "vuepress-plugin-full-text-search2"; module.exports = { plugins: [fullTextSearchPlugin], }; ``` ## Options ### locales - Type: `Record` - Details: The text of the search box in different locales. If this option is not specified, it will fallback to default text. - Example: ```ts import fullTextSearchPlugin from "vuepress-plugin-full-text-search2"; export default { plugins: [ fullTextSearchPlugin({ locales: { '/': { placeholder: 'Search', }, '/zh/': { placeholder: '搜索', }, }, }), ], } ``` - Also see: - [VuePress v2 - Guide > I18n]([../../guide/i18n.md](https://v2.vuepress.vuejs.org/guide/i18n.html))