npm create vite@latestis a good thing to use for starting react (and other apps). Thanks, Scrimba for the quick introduction.
npm create vite@latest: Change
vite.config.tsbefore hosing on github pages.
Keeping the script tags starting in the first column is important.