Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

允许 .env 读取 APP_ROOT 环境变量 #15

Closed
arvinxx opened this issue Feb 20, 2021 · 2 comments
Closed

允许 .env 读取 APP_ROOT 环境变量 #15

arvinxx opened this issue Feb 20, 2021 · 2 comments

Comments

@arvinxx
Copy link

arvinxx commented Feb 20, 2021

issue 来源:#9 (comment)

APP_ROOT 写在scripts里太啰嗦了,希望能够在 .env 里配置。(我记得 umi 是支持环境变量写在 .env 里的呀?

@BySlin
Copy link
Owner

BySlin commented Feb 20, 2021

image
https://umijs.org/zh-CN/docs/env-variables

umijs限制的,插件没办法解决

@arvinxx
Copy link
Author

arvinxx commented Feb 20, 2021

这样吗…好吧

@arvinxx arvinxx closed this as completed Feb 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants