Skip to content
Source
Sign inSign up
TanStack/cli

frameworks/react-cra/add-ons/t3env

fix: version bump
History
Contents of frameworks/react-cra/add-ons/t3env
NameLast commit messageLast commit date
..
assets (directory)
info.json
package.json
README.md
small-logo.svg

README.md

T3Env

  • You can use T3Env to add type safety to your environment variables.
  • Add Environment variables to the src/env.mjs file.
  • Use the environment variables in your code.

Usage

import { env } from "@/env";

console.log(env.VITE_APP_TITLE);