{
  "homepage": "/edu/"
}
Copy the code

Or:

Cross-env needs to be installed:

yarn add cross-env

{
  "script": {
    "build": "cross-env PUBLIC_URL=/edu/ node scripts/build.js"}}Copy the code