安装dotenv-cli 包; 根据需求在根目录创建.env 文件(注意:只能以REACT_APP_ 开头),如创建.env.development、.env.production,内容如下:
確定! 回上一頁