SPA中有没有好的办法可以拿到process env的环境变量 #6707
Unanswered
jiujiaonuannan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
没有配置ssr, 项目启动的时候pod会想容器中注入不同环境的环境变量, 我现在是通过build=> nginx转发来实现访问, 我能想到的比较好的办法就是将这些变量挂在到全局, 有没有比较好的解决方法或者案例可以参考的. 谢谢了!
Beta Was this translation helpful? Give feedback.
All reactions