metacubexd/src/index.tsx
2023-08-30 10:41:48 +08:00

18 lines
317 B
TypeScript

/* @refresh reload */
import '~/index.css'
import { Router, hashIntegration } from '@solidjs/router'
import { render } from 'solid-js/web'
import { App } from './App'
const root = document.getElementById('root')
render(
() => (
<Router source={hashIntegration()}>
<App />
</Router>
),
root!,
)