{ "homepage": "/edu/" }
或者:
需要安装 cross-env:
yarn add cross-env
{ "script": { "build": "cross-env PUBLIC_URL=/edu/ node scripts/build.js" } }