
Nuxt Content Assets
Enable locally-located assets in Nuxt Content
Overview
Nuxt Content Assets enables locally-located assets in Nuxt Content:
+- content
+- posts
+- 2023-01-01
+- index.md
+- media
+- featured.png
+- mountains.jpg
+- seaside.mp4In your documents, reference assets with relative paths:
---
title: Summer Holiday
featured: media/featured.png
---
I loved being in the mountains.

Almost as much as being in the sea!
:video{src="media/seaside.mp4"}At build time the module collates and serves assets and content together.
Features
Built on top of Nuxt Content and compatible with any Nuxt Content project, including Docus and Nuxt Image.
User experience:
- co-locate assets with content files
- reference assets using relative paths
- supports any format (image, video, doc)
Developer experience:
- works with tags and custom components
- works in markdown and frontmatter
- file watching and asset live-reload
- image size injection
- zero config