Files
Cloud-Blog/content.config.ts
2025-12-20 18:46:45 +08:00

24 lines
629 B
TypeScript

import { defineCollection, defineContentConfig } from "@nuxt/content";
import { asRobotsCollection } from "@nuxtjs/robots/content";
import { asSitemapCollection } from "@nuxtjs/sitemap/content";
import { asOgImageCollection } from "nuxt-og-image/content";
export default defineContentConfig({
collections: {
content: defineCollection({
...asRobotsCollection({
type: "page",
source: "**/*.md",
}),
...asSitemapCollection({
type: "page",
source: "**/*.md",
}),
...asOgImageCollection({
type: "page",
source: "**/*.md",
}),
}),
},
});