nuxt dev doesn't load .env
The docs say:
In addition to any process environment variables, if you have a .env file in your project root directory, it will be automatically loaded at dev, build and generate time.This appears to not be the case. I have an .env file in the project root directory. If I run
nuxt dev
, this file is not loaded onto process.env
at runtime. π€·ββοΈ2 Replies