Skip to content

Commit 9455e92

Browse files
authored
fix: correct zod import path from 'zod/v4' to 'zod' (#25)
The content.config.ts was importing zod from 'zod/v4' which is not the standard import path. This fixes the import to use the correct 'zod' module path while still properly importing the z validator from a separate statement rather than from @nuxt/content.
1 parent a6c9a74 commit 9455e92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/layer/content.config.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { defineCollection, defineContentConfig, z } from '@nuxt/content'
1+
import { defineCollection, defineContentConfig } from '@nuxt/content'
22
import { useNuxt } from '@nuxt/kit'
33
import { joinURL } from 'ufo'
4-
4+
import { z } from 'zod'
55
const { options } = useNuxt()
66
const cwd = joinURL(options.rootDir, 'content')
77

0 commit comments

Comments
 (0)