@lupinum/ginko-content

Ginko bricks from Markdown files in the site's repo. Installed, not imported: the Ginko module loads it.
13,585
Install
npm install @lupinum/ginko-content
Latest Version:0.6.5
Older releases:3
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: lupinum

@lupinum/ginko-content

Files as a content source for @lupinum/ginko. At build time it reads content/ and builds the same bundle the Ginko platform serves, so a site reads files and platform content the same way, with useGinko. Use it for content that developers maintain: docs, a blog, legal pages, a price list. It reads Markdown, YAML, JSON and CSV.

Use

npm install @lupinum/ginko @lupinum/ginko-content

@lupinum/ginko is a peer dependency. Images get WebP variants through sharp, an optional peer dependency: install it (npm install sharp, version 0.33 to 0.35) if your site has image files. ginko check runs without it.

Give a brick source: 'files' and one f.markdown field:

// ginko.config.ts
docs: collection({
  label: 'Docs',
  source: 'files',
  max: 500,
  order: 'manual',
  route: { en: '/docs/[slug]' },
  fields: { title: f.text('Title'), slug: f.slug('Address', { from: 'title' }), body: f.markdown('Text') },
}),
content/docs/1.getting-started.md      one entry; the number is the order
content/docs/1.getting-started.de.md   its translation

The Ginko Nuxt module finds this package by itself. It serves the Markdown of a page with the page, adds <GinkoMarkdown> and a search index. A file error fails the build and names the file.

Full guide: Content from files.

Stability

You install this package; you do not import it. The Ginko module and ginko check load it. Its exports are the contract between the Ginko packages and can change in any release.

License

MIT © Lupinum OG

Related Packages

@lupinum/better-convex-vue

Identity-safe Convex lifecycle primitives for Vue 3 and Vite

2,172 34
@lupinum/better-convex-nuxt

Full-featured Convex integration for Nuxt with SSR, real-time subscriptions, and...

2,088 34
@lupinum/nuxt-pdf

Author and render PDFs with Vue components in Nuxt

1,074 1
@lupinum/nuxt-tour

Build accessible, route-aware product tours with a Vue-native API and Nuxt-first...

1,017 0
@lupinum/nuxt-email

Typed transactional email for Nuxt with email-safe Tailwind v4

1,008 1

Version History

Version Released License
0.6.5 MIT
0.6.4 MIT
0.6.3 MIT
0.6.2 MIT
0.6.1 MIT
Pre-releases (16)
Version Released License
1.0.0-beta.11 MIT
1.0.0-beta.9 MIT
1.0.0-beta.8 MIT
1.0.0-beta.7 MIT
1.0.0-beta.6 MIT