mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 17:25:34 +08:00
18 lines
317 B
TypeScript
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!,
|
|
)
|