0.0.5 • Published 1 year ago

vitepress-plugin-meilisearch v0.0.5

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

Provides meilisearch for vitepress

this is not a production plugin

do not use it

Installing

node >= 18

$ npm i vitepress-plugin-meilisearch -D

Add the plugin

//vite.config.ts
import { SearchPlugin } from "vitepress-plugin-meilisearch";
import { defineConfig } from "vite";

//default options
var options = {
    host: 'http://127.0.0.1:7700',
    indexName: 'search-index',
    searchKey: 'abs***428',
    apiKey: 'lqq***dl'
};

export default defineConfig({
    plugins: [SearchPlugin(options)],
});