Files
dps-webshop/01-frontend/src/main.tsx
2025-06-22 13:06:57 +02:00

15 lines
382 B
TypeScript

import './components/i18n/i18n';
import {StrictMode} from 'react';
import {createRoot} from 'react-dom/client';
import './index.css';
import App from './App.tsx';
const rootElement = document.getElementById('root');
if (!rootElement) throw new Error("Root element not found");
const root = createRoot(rootElement);
root.render(
<StrictMode>
<App/>
</StrictMode>
);