Playground
Check out the playground of this module for an example Nuxt project setup. To spin up your Nuxt dev server quickly, use the following Kirby instance and credentials for your .env
file:
KIRBY_BASE_URL=https://kirby-headless-starter.jhnn.dev
KIRBY_API_TOKEN=test
You may also take a deep dive into the Kirby Nuxt Starter Kit, which is a rewrite of the official Kirby Starter Kit with this module. It's configured to use token-based authentication, but can be used with basic authentication as well.