Files
computer/index.tsx
T
zeekay 7066d04662 fix: Fix GitHub Pages deployment
- Add favicon.svg to resolve 404 error
- Replace Tailwind CDN with proper PostCSS setup
- Remove import maps causing MIME type errors
- Install @tailwindcss/postcss for Tailwind v4 compatibility
- Ensure proper bundling with Vite for production

Build tested locally and working properly with correct base paths.
2025-10-29 16:55:41 -07:00

18 lines
377 B
TypeScript

import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import './src/index.css';
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error("Could not find root element to mount to");
}
const root = ReactDOM.createRoot(rootElement);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);