Nuxt Content Assets

screenshot of Nuxt Content Assets
nuxt

Enable locally-located assets in Nuxt Content

Overview

Nuxt Content Assets is a module that enables locally-located assets in Nuxt Content. It allows you to reference assets with relative paths in your documents, and at build time, the module collates and serves assets and content together.

Features

  • 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

Summary

Nuxt Content Assets is a powerful module that enhances the user and developer experience when working with locally-located assets in Nuxt Content. It allows you to easily reference assets with relative paths, supports various formats, and provides features like file watching and live-reload. With zero configuration required, it seamlessly integrates with any Nuxt Content project or theme.

nuxt
Nuxt

nuxt.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.