0.3.0 • Published 1 month ago

vuepress-plugin-meilisearch2 v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

vuepress-plugin-meilisearch2

这是在 VuePress Theme Hope 中使用的例子

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

defineUserConfig({
  plugins: [
    MeiliSearchPlugin({
      host: '',
      apiKey: '',
      index: '',
    })
  ]
})
import { hopeTheme } from 'vuepress-theme-hope';

export default hopeTheme({
  navbarLayout: {
    start: ['Brand'],
    center: ['Links'],
    // 插入到 navbar
    end: ['Repo', 'Outlook', 'MeiliSearch'],
  },
});

选项

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

1 month ago

0.2.1

1 month ago

0.2.0

1 month ago

0.1.15

2 months ago

0.1.14

2 months ago

0.1.12

2 months ago

0.1.11

2 months ago

0.1.10

2 months ago

0.1.9

2 months ago

0.1.8

2 months ago

0.1.7

2 months ago

0.1.6

2 months ago

0.1.5

2 months ago

0.1.4

2 months ago

0.1.3

2 months ago

0.1.1

2 months ago

0.1.0

2 months ago