React js . how to access env variables from the public folder

前端 未结 0 625
太阳男子
太阳男子 2020-11-21 08:41

I am trying to access an environment variable from a JS file located in the public folder like this : process.env.myvariable but it says that process is undefined . I have l

相关标签:
回答
  • 消灭零回复
提交回复
热议问题