Vue application served by vite is not loading environment variables from .env files located at the root of the project, backend is rails-api
My vue application is not loading environment variables properly.
I have the dotenv library in package.json.