Examples

Runnable examples of Comark Content across runtimes and frameworks.

Each example wires Comark Content into a different runtime or framework, with its full source browsable inline.

Looking for step-by-step setup instructions instead? See the integration guides for Nuxt, Next.js, Vite, SvelteKit, Nitro, Node, and Hono.

Runtime

Node

Read and query content from a plain Node script, with no framework or server.

Server

Nitro

Serve content over HTTP from a minimal Nitro server with content.handler().

Framework

Nuxt

Render content authored as YAML, JSON, Markdown, or a json-render spec with Nuxt UI.

Nuxt x Better Auth

A server-side Content instance with typed routes and a private, auth-gated content area.

Nuxt x Evlog

The minimal wiring with evlog as the Content instance logger for structured diagnostics.

Next

Render content authored as YAML, JSON, Markdown, or a json-render spec with Next.js and HeroUI.

Vite

Vue

Vite + Vue with the Content instance plugin: content edits hot-reload in the browser.

Vue schema validation

Vite + Vue with the schema-validation plugin: invalid files are rejected at load time.

Vue markdown fields

Vite + Vue with markdown-fields: compare list(), get(), and query() for parsed markdown columns.

React

Vite + React with the Content instance plugin: read and render content with HMR.