Fixed layout and routing
This commit is contained in:
parent
c57727e20a
commit
ddff738d2e
5 changed files with 54 additions and 26 deletions
8
index.tsx
Normal file
8
index.tsx
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { render } from 'solid-js/web'
|
||||
import { Router } from '@solidjs/router'
|
||||
|
||||
import routes from './src/routers/router'
|
||||
|
||||
const root = document.getElementById('root')
|
||||
|
||||
render(() => <Router>{routes}</Router>, root!)
|
||||
Loading…
Add table
Add a link
Reference in a new issue