Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gcascio/next-intl-zod
https://github.com/gcascio/next-intl-zod
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/gcascio/next-intl-zod
- Owner: gcascio
- Created: 2024-03-05T15:16:42.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-11T12:57:23.000Z (7 months ago)
- Last Synced: 2024-05-29T22:47:00.504Z (5 months ago)
- Language: TypeScript
- Size: 44.9 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Translating zod errors with next-intl
This is code is a demonstration of how to translate zod errors with next-intl using a zod error map. For more information see this [blog post](https://www.gcasc.io/blog/next-intl-zod).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.