📅  最后修改于: 2022-03-11 14:51:19.796000             🧑  作者: Mango
npm install gh-pages
to deploy
add this to package.json
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
and then this
npm run deploy