通过 dotenv 这个npm 包可以读取.env 文件的配置到Nodejs 程序中。 npm install dotenv --save. 安装后,直接调用它解析,就可以从环境变量中拿到.env ...
確定! 回上一頁