cross -env可以运行跨平台设置和使用环境变量的脚本。 使用方式. 设置npm脚本:. "scripts": {. "dev": "cross-env NODE_ENV=dev node app.js". } ...
確定! 回上一頁