Second Blog Post
Second Blog Post
This is our second post, showcasing how easy it is to create content with Nuxt Content.
Benefits of Nuxt Content
- File-based: Content is stored as files in your repository
- Git-friendly: Version control your content alongside your code
- Markdown support: Write in markdown with frontmatter
- Fast: No external API calls needed
- SEO-friendly: Built-in meta tag generation
Code Example
// Example of using Nuxt Content
const { data: posts } = await queryContent('posts')
.where({ status: 'published' })
.sort({ date: -1 })
.find()
Much simpler than managing a separate CMS!