Fixed routing
This commit is contained in:
parent
9f60c27b60
commit
a271bdc64e
9 changed files with 55 additions and 57 deletions
13
src/app.tsx
Normal file
13
src/app.tsx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { Suspense, type Component } from 'solid-js'
|
||||
|
||||
const App: Component<{ children: Element }> = (props) => {
|
||||
return (
|
||||
<>
|
||||
<main>
|
||||
<Suspense>{props.children}</Suspense>
|
||||
</main>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
Loading…
Add table
Add a link
Reference in a new issue