Features
- Credentials Stay on the Server
- Requests go through a Nuxt server route, so the Kirby token or password never reaches the browser.
- KQL and REST in One Module
useKql()sends KQL queries anduseKirbyData()fetches any Kirby API path, both with the options of Nuxt'suseFetch.- Language per Request
- A
languageoption sends theX-Languageheader for multi-language sites. - Server-Side Cache
- Turn on
server.cache, and responses are cached in Nitro storage, with optional stale-while-revalidate. - Typed Prefetched Queries
- Queries listed under
prefetchrun at build time and import fully typed.