I want to use env in my existing project which is electron forge vite react app.
but i’m unable to use env variable when i declread them in env like VITE_KEY_NAME and use in component like import.meta.env.VITE_KEY_NAME it getting undefined
New contributor
RAHUL RAUNIYAR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.