Closed Vidhu007 closed 2 years ago
Could you please tell me how ?
I did exactly as we do for usual react projects
npm install gh-pages --save-dev
Editing package.json like :
"homepage" : "http://Vidhu007.github.io/my-repo-name"
"scripts": {
//...
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
}
```npm run build```
```npm run deploy```
I think for next.js apps, we have to do different
@Vidhu007 Follow this Guide Next.js / GitHub Pages
@Vidhu007 Yes