diff options
| author | Dax Raad <[email protected]> | 2025-08-15 19:29:24 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-15 19:29:42 -0400 |
| commit | 07cf8847fb1908ff5dc47a771f57d23926baa1ce (patch) | |
| tree | aef73a8ac42e755404cb56107137a7fc4eff3ffd /cloud/app/src/app.tsx | |
| parent | 650e67f1dfd4790152c70864da6c1ade4884ab58 (diff) | |
| download | opencode-07cf8847fb1908ff5dc47a771f57d23926baa1ce.tar.gz opencode-07cf8847fb1908ff5dc47a771f57d23926baa1ce.zip | |
wip: cloud stuff
Diffstat (limited to 'cloud/app/src/app.tsx')
| -rw-r--r-- | cloud/app/src/app.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cloud/app/src/app.tsx b/cloud/app/src/app.tsx new file mode 100644 index 000000000..04c569b91 --- /dev/null +++ b/cloud/app/src/app.tsx @@ -0,0 +1,21 @@ +import { MetaProvider, Title } from "@solidjs/meta"; +import { Router } from "@solidjs/router"; +import { FileRoutes } from "@solidjs/start/router"; +import { Suspense } from "solid-js"; +import "@ibm/plex/css/ibm-plex.css"; +import "./app.css"; + +export default function App() { + return ( + <Router + root={props => ( + <MetaProvider> + <Title>SolidStart - Basic</Title> + <Suspense>{props.children}</Suspense> + </MetaProvider> + )} + > + <FileRoutes /> + </Router> + ); +} |
