You are opening the source file, not the built app.

Build once, then open directly:

npm install && npm run build

Then open dist/app.html directly in your browser.


For development: npm run dev → localhost:5173