Skip to content

Commit

Permalink
docs: remove runtimeEnv option from examples for nuxt (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
dammy001 authored Mar 13, 2024
1 parent c54f0ae commit 1d5b625
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/src/app/docs/nuxt/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pnpm add @t3-oss/env-nuxt zod

<Callout>

`@t3-oss/env-core` requires a minimum of `typescript@4.7.2`.
`@t3-oss/env-core` requires a minimum of `typescript@5`.

</Callout>

Expand Down Expand Up @@ -62,7 +62,6 @@ export const env = createEnv({
DATABASE_URL: z.string().url(),
OPEN_AI_API_KEY: z.string().min(1),
},
runtimeEnv: process.env,
});
```

Expand All @@ -74,7 +73,6 @@ export const env = createEnv({
client: {
PUBLIC_CLERK_PUBLISHABLE_KEY: z.string().min(1),
},
runtimeEnv: process.env,
});
```

Expand Down

0 comments on commit 1d5b625

Please sign in to comment.