chore: Update dependencies and configuration files
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
import 'uno.css';
|
||||
import { render } from 'solid-js/web';
|
||||
import { render } from 'solid-js/web'
|
||||
|
||||
import App from './App';
|
||||
import './index.css'
|
||||
import 'virtual:uno.css'
|
||||
|
||||
const root = document.getElementById('root');
|
||||
import App from './App'
|
||||
|
||||
if (import.meta.env.DEV && !(root instanceof HTMLElement)) {
|
||||
throw new Error(
|
||||
'Root element not found. Did you forget to add it to your index.html? Or maybe the id attribute got misspelled?',
|
||||
);
|
||||
}
|
||||
|
||||
render(() => <App />, root!);
|
||||
render(() => <App />, document.getElementById('root'))
|
||||
|
Reference in New Issue
Block a user