metacubexd/src/index.tsx

18 lines
317 B
TypeScript
Raw Normal View History

2023-08-24 04:20:53 +08:00
/* @refresh reload */
2023-08-30 10:41:40 +08:00
import '~/index.css'
2023-08-24 04:20:53 +08:00
import { Router, hashIntegration } from '@solidjs/router'
2023-08-30 10:41:40 +08:00
import { render } from 'solid-js/web'
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!,
)