Follow

#1. 刚才又浪费了一点点时间在debug上。 .env文件要放在working space root文件上

且要在react上面使用 .env, 变量名称前面需要加 REACT_APP_ 使用的时候,不用require('dotenv').config。当然最重要的,别忘记安装dotenv

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.