Files Source

Using a files source with Contentlayer means that content lives locally, right alongside your code in your web project repository. These is most often markdown or MDX files, but can also be content in the JSON or YAML syntax.

Getting Started

Our getting started tutorial shows you how to work with local content in a Next.js project.

Our getting started tutorial is the best place to start when wanting to work with local content.

It shows you how to work with local markdown files within a Next.js application.


Local Source Guides

Local source guides will teach you the crucial aspects of working with local content.

API Reference

Working with local content uses the contentlayer/local-source module.

Full technical reference

Was this article helpful to you?
Provide feedback

Last edited on April 01, 2024.
Edit this page