Skip to content

请问是否支持 根据环境变量打包生成不一样的文档? #2603

Answered by Mister-Hope
kk305cs asked this question in Q&A
Discussion options

You must be logged in to vote

process.env 仅在 node 侧可用,如果需要在客户端代码使用请使用 define 定义相关变量到客户端。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kk305cs
Comment options

Answer selected by Mister-Hope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants