Live Server and “Open with browser” only serve raw index.html. They cannot run
React or TypeScript from src/.
While developing:
npm install npm run dev
Or use Live Server on the built site:
npm run build
Then right‑click the dist folder → Open with Live Server (not the project root).