由于Windows、Linux、Mac 设置环境变量不一致,可以使用 cross-env 来跨平台设置环境变量,设置后就可以在Node.js 中读取出来。 # 安装 $ npm install -g cross-env ...
確定! 回上一頁