@stedefast/module-search
v0.2.2
Published
Client-side full-text search module for Stedefast — build-time MiniSearch index, React island, ⌘K shortcut
Maintainers
Readme
@stedefast/module-search
Client-side full-text search module for Stedefast — builds a static search index at build time, React island with keyboard shortcut support, no server required.
Installation
pnpm add @stedefast/module-searchUsage
// stedefast.config.ts
import { defineConfig } from "@stedefast/core";
import { SearchModule } from "@stedefast/module-search";
export default defineConfig({
modules: [
SearchModule({ hotkey: true }),
],
});Add the search trigger to your header:
<div data-island="DocSearch" data-props="{}" />Documentation
Full docs at stedefast.dev/docs/modules/search.
License
MIT
