this repo has no description
at main 418 B view raw
1/* @refresh reload */ 2import './index.css'; 3import { render } from 'solid-js/web'; 4import 'solid-devtools'; 5 6import App from './App'; 7 8const root = document.getElementById('root'); 9 10if (import.meta.env.DEV && !(root instanceof HTMLElement)) { 11 throw new Error( 12 'Root element not found. Did you forget to add it to your index.html? Or maybe the id attribute got misspelled?', 13 ); 14} 15 16render(() => <App />, root!);