chore(07-01): install nuxt-schema-org + add updated field to blog schema
- pnpm add -D nuxt-schema-org@^6.0.4 (D-01, D-04) - content.config.ts blogSchema: updated: z.string().optional() (D-13, D-14) - Caches content/.nuxt vidés (Pitfall 8)
This commit is contained in:
@@ -4,6 +4,7 @@ const blogSchema = z.object({
|
|||||||
title: z.string(),
|
title: z.string(),
|
||||||
description: z.string(),
|
description: z.string(),
|
||||||
date: z.string(),
|
date: z.string(),
|
||||||
|
updated: z.string().optional(),
|
||||||
tags: z.array(z.string()).optional(),
|
tags: z.array(z.string()).optional(),
|
||||||
image: z.string().optional(),
|
image: z.string().optional(),
|
||||||
draft: z.boolean().optional().default(false),
|
draft: z.boolean().optional().default(false),
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
"@nuxt/eslint": "^1.15.2",
|
"@nuxt/eslint": "^1.15.2",
|
||||||
"@tailwindcss/typography": "^0.5.19",
|
"@tailwindcss/typography": "^0.5.19",
|
||||||
"@types/nodemailer": "^8.0.0",
|
"@types/nodemailer": "^8.0.0",
|
||||||
|
"nuxt-schema-org": "^6.0.4",
|
||||||
"tailwindcss": "^4.2.3",
|
"tailwindcss": "^4.2.3",
|
||||||
"typescript": "~5.9.0",
|
"typescript": "~5.9.0",
|
||||||
"vue-tsc": "^3.2.6"
|
"vue-tsc": "^3.2.6"
|
||||||
|
|||||||
Generated
+1323
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user