This commit is contained in:
10
content.config.ts
Normal file
10
content.config.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { defineContentConfig, defineCollection } from '@nuxt/content'
|
||||
|
||||
export default defineContentConfig({
|
||||
collections: {
|
||||
books: defineCollection({
|
||||
type: 'page',
|
||||
source: '/books/*.md',
|
||||
}),
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user