CloudCannon / pagefind

Static low-bandwidth search at scale
https://pagefind.app
MIT License
3.45k stars 111 forks source link

No documentation on how to make pagefind works on SvelteKit? #548

Open wentallout opened 8 months ago

wentallout commented 8 months ago
Pagefind runs after Hugo, Eleventy, Jekyll, Next, Astro, SvelteKit, or any other website framework.

I still don't know how to put it in SvelteKit. Why do you make these promises and then not provide any setup guide?

Hugos68 commented 8 months ago

See: https://github.com/CloudCannon/pagefind/issues/327

bglw commented 8 months ago

Good note generally about that page on the docs, though. I should qualify that section, in that the default "quick start" is applicable to the website frameworks with static exports, e.g. SvelteKit with adapter-static, and and Next with output: 'export'. From that point, it's a static site and Pagefind runs on the directory of HTML files produced.

For those websites in dynamic use cases, I'll link off to any existing plugins to integrate Pagefind.

So thanks for the prompt! Will fix 🙂