vuepress-plugin-meilisearch2
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

vuepress-plugin-meilisearch2

default-theme-use

import { defineUserConfig } from 'vuepress';
import { MeiliSearchPlugin } from 'vuepress-plugin-meilisearch2';

defineUserConfig({
  plugins: [
    MeiliSearchPlugin({
      host: '',
      apiKey: '',
      index: '',
    })
  ]
})

选项

  • host - 主机
  • apiKey - 密钥
  • index - 要查询的索引
  • limit - 设置单个查询返回的最大文档数,默认20
  • offset - 在搜索结果中设置起始点,有效地跳过给定数量的文档,默认0
  • filter - 使用筛选表达式来优化搜索结果,详见filtering

Package Sidebar

Install

npm i vuepress-plugin-meilisearch2

Weekly Downloads

64

Version

0.4.0

License

MIT

Unpacked Size

413 kB

Total Files

25

Last publish

Collaborators

  • ush2a