Skip to content

Commit 4194b56

Browse files
authored
Merge pull request #1533 from GrabarzUndPartner/renovate/nuxt-content-3.x
chore(deps): update dependency @nuxt/content to v3
2 parents c8992ac + bf5f56a commit 4194b56

32 files changed

+1151
-243
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ env/cert/*
3434

3535
dist
3636
.output
37+
.data

.lintstagedrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"eslint ."
44
],
55
"*.(vue|css)": [
6-
"stylelint --fix"
6+
"stylelint"
77
]
88
}

content.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { defineContentConfig, defineCollection } from '@nuxt/content';
2+
3+
export default defineContentConfig({
4+
collections: {
5+
page: defineCollection({
6+
type: 'page',
7+
source: 'pages/**/*.json'
8+
}),
9+
layout: defineCollection({
10+
type: 'page',
11+
source: 'layout/**.json'
12+
})
13+
}
14+
});
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)