TanStackT
TanStack2y ago
17 replies
dead-brown

Environment variables

What's the intended method to access environment variables in Start in isomorphic code like createRouter? (import.meta as any).env.VITE_MY_URL works on the client and server and import.meta.MY_URL and process.env.VITE_MY_URL don't.
Was this page helpful?