Contentlayer Documentation

    Contentlayer is a content preprocessor that validates and transforms your content into type-safe JSON you can easily import into your application.

    Getting Started

    Get comfortable with the basics of Contentlayer by showing how we can quickly build a blog site using Next.js.

    Concepts

    Learn about why you should use Contentlayer and get familiar with how it works under the hood.


    Sources

    Contentlayer lets you choose the source for your content. Currently only local file source is officially supported.

    See all guides

    Sources that are supported, planned, or being considered:


    Environments

    Contentlayer supports a tight integration with Next.js. Other environment support is coming soon.

    See all guides

    Frameworks that are supported, planned, or being considered:


    Reference

    Technical API reference for Contentlayer, the CLI, and associated plugins.

    See reference

    Was this article helpful to you?
    Provide feedback

    Last edited on May 24, 2023.
    Edit this page