-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment variables arent accessible in app level? #18
Comments
@subhendukundu For the frontend env variables you need to follow Vite instructions: https://vitejs.dev/guide/env-and-mode.html#env-files
-- The |
Fair enough. But seems not working. |
Are you running on mode In backend it's still |
oh no, I have a But |
I have added a
.env
in root withThen trying to access them in
src/App.jsx
like sobut both are undefined. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: