📌  相关文章
📜  如何将 React 和后端部署到 github 页面 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:01.991000             🧑  作者: Mango

代码示例1
npm install gh-pages --save-dev
package.json
//...
"homepage": "http://gitname.github.io/react-gh-pages"
//...
"scripts": {
  //...
  "predeploy": "npm run build",
  "deploy": "gh-pages -d build"
}
git init