pagefind icon indicating copy to clipboard operation
pagefind copied to clipboard

No documentation on how to make pagefind works on SvelteKit?

Open wentallout opened this issue 1 year ago • 2 comments

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?

wentallout avatar Jan 27 '24 12:01 wentallout

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

Hugos68 avatar Jan 27 '24 16:01 Hugos68

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 🙂

bglw avatar Jan 30 '24 01:01 bglw