Lunr integration for Astro; client-side search for statically hosted pages.
| 0 | { | ||
| 1 | "name": "@siverv/astro-lunr", | ||
| 2 | "version": "0.0.1", | ||
| 3 | - | "private": true, | |
| 4 | "license" : "GPL-3.0", | ||
| 5 | "description": "Lunr integration for Astro", | ||
| ... | |||
| 26 | "rehype": "^12.0.1" | ||
| 27 | } |
| 0 | |||
| 1 | |||
| 2 | # astro-lunr | ||
| 3 | |||
| 4 | - | [Lunr](https://lunrjs.com) integration for [Astro](https://astro.build/). | |
| 5 | + | [Lunr](https://lunrjs.com) integration for [Astro](https://astro.build/); client-side search for statically hosted pages. | |
| 6 | |||
| 7 | - | See example usage in [astro-git-view](https://github.com/siverv/astro-git-view) | |
| 8 | + | [Demo through the search-bar for astro-git-view hosted on Github Pages](https://siverv.github.io/astro-git-view/astro-lunr/) | |
| 9 | |||
| 10 | + | See example of usage in [astro-git-view's source code](https://github.com/siverv/astro-git-view) | |
| 11 | + | ||
| 12 | ## Usage | ||
| 13 | |||
| ... | |||
| 111 | To properly search files that are not usually genereated in the build-step, you would need to have a separate build-step that includes all pages that might be generated. | ||
| 112 |