请问是否支持 根据环境变量打包生成不一样的文档? #2603
-
想做这样一个功能: |
Beta Was this translation helpful? Give feedback.
Answered by
Mister-Hope
Dec 31, 2022
Replies: 1 comment 1 reply
-
process.env 仅在 node 侧可用,如果需要在客户端代码使用请使用 define 定义相关变量到客户端。 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Mister-Hope
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
process.env 仅在 node 侧可用,如果需要在客户端代码使用请使用 define 定义相关变量到客户端。