Command npm create vite @latestcity-road -- --template react npm i npm run dev npm run deploy Github Page Deployment check repo, noted that I am using vite so vite.config.js needs add base, check here