Skip to content

fix: blank page on load, missing app mount script tag#2

Open
skoulik wants to merge 1 commit into
Marfusios:mainfrom
skoulik:fix/blank-page-missing-script-tag
Open

fix: blank page on load, missing app mount script tag#2
skoulik wants to merge 1 commit into
Marfusios:mainfrom
skoulik:fix/blank-page-missing-script-tag

Conversation

@skoulik

@skoulik skoulik commented Jul 1, 2026

Copy link
Copy Markdown

Summary

  • index.html was missing the <script type=module src=/index.tsx> tag that mounts the React app, so loading the page rendered nothing but the Tailwind background (blank grey page).
  • Updated the README''s local dev / deployment instructions, since the project is actually built with Vite (per package.json/vite.config.ts) and needs npm install + npm run dev (or vite build) rather than a plain static server like python -m http.server - a raw browser cannot transpile the TSX/JSX in this codebase.

Test plan

  • npm install && npm run dev, confirmed the app now mounts and renders correctly at http://localhost:5173

index.html was missing the <script type="module" src="/index.tsx">
tag, so the React app never mounted, leaving a blank page. This also
means the app cannot be served as static files (as the README
suggested via python -m http.server / live-server) since browsers
can't transpile TSX on their own - a Vite dev server (or build) is
required.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant