Zum Inhalt

src/main.tsx

1
2
3
4
5
6
7
8
import { render } from 'solid-js/web';
import './styles/global.css';
import { App } from './App';

const root = document.getElementById('root');
if (!root) throw new Error('Root element #root not found');

render(() => <App />, root);