mirror of
https://github.com/hanzoai/computer.git
synced 2026-09-30 20:55:46 +00:00
- 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.
18 lines
377 B
TypeScript
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>
|
|
);
|