Skip to content

VitePress Integration Guide

This guide provides resources and information for integrating Sveltia CMS with VitePress, a static site generator powered by Vite and Vue.

Examples

See real-world examples of VitePress integrations in our Showcase. Most of the listed sites include links to their source code, so you can explore how they implemented Sveltia CMS with VitePress.

Support for VitePress

We have implemented specific features to enhance the integration of Sveltia CMS with VitePress:

  • If an entry collection has only a Markdown body field, the slug and summary of the entries will be generated from a header in the Markdown content, if exists. (Discussion)
  • The folder option for an entry collection can be an empty string (or . or /) if you want to store entries in the root folder. (Discussion)

Development Guide

We’ll be adding a detailed development guide for integrating Sveltia CMS with VitePress in the near future. In the meantime, you can refer to the Decap CMS documentation, as the basic concepts are similar.

Released under the MIT License.