Cacao Kit Frontend

screenshot of Cacao Kit Frontend
nuxt

Best practice Nuxt and KQL starter for your headless Kirby CMS

Product Analysis: Cacao Kit Frontend

Overview

Cacao Kit Frontend is a feature-rich Nuxt 3 starter kit that fetches content from the Cacao Kit backend, a headless Kirby CMS instance. It offers a block-first approach, where Kirby's page structure can be used as the source of truth for rendering pages. It also provides internationalization support and integrates with Kirby Query Language (KQL). The starter kit allows for server-side rendering or pre-rendering of content using Nuxt's static generation.

Features

  • Internationalization with @leanera/nuxt-i18n
  • Block-first approach: Kirby blocks define what to render for each page
  • Catch-all route: All pages are rendered by the catch-all route by default, but Nuxt pages can also be created
  • Source of truth: Utilizes Kirby's page structure as the source of truth for rendering
  • Kirby Query Language (KQL): Allows querying the content using KQL
  • Global site data: Similar to Kirby's $site
  • SSR generated SEO data: Generates SEO data for server-side rendered pages
  • Prettier & ESLint: Pre-configured code formatting and linting
  • Pre-configured VSCode settings: Convenient settings for Visual Studio Code

Summary

Cacao Kit Frontend is a feature-rich Nuxt 3 starter kit that integrates with the Cacao Kit backend. It offers a block-first approach for rendering pages and supports internationalization. With its use of Kirby Query Language (KQL) and global site data, it provides a flexible and efficient solution for building a Nuxt-based frontend on top of Kirby CMS. Its pre-configured settings and code formatting make development easier and more streamlined.

nuxt
Nuxt

nuxt.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.