I don't want to follow the convention of putting my environment variable (.env
file) at the root directory of my Nuxt project.
How can I achieve another directory or even name for it without using the @nuxtjs/dotenv module? (I know this one is already baked into Nuxt since v2.13
and hence, not needed anymore).
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…