metacubexd/src/index.tsx

20 lines
342 B
TypeScript
Raw Normal View History

import '~/index.css'
2023-08-24 04:20:53 +08:00
/* @refresh reload */
import 'solid-devtools'
import { render } from 'solid-js/web'
import { Router, hashIntegration } from '@solidjs/router'
2023-08-24 04:20:53 +08:00
import { App } from './App'
const root = document.getElementById('root')
render(
() => (
<Router source={hashIntegration()}>
2023-08-24 04:20:53 +08:00
<App />
</Router>
),
root!,
)