add build serve and start on other things
All checks were successful
Code quality checks / biome (push) Successful in 7s
All checks were successful
Code quality checks / biome (push) Successful in 7s
This commit is contained in:
parent
d1b1d0aeb5
commit
2552d305da
22 changed files with 281 additions and 74 deletions
18
src/views/app.tsx
Normal file
18
src/views/app.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
import { Route } from "@solidjs/router";
|
||||
import { about } from "@views/pages/about";
|
||||
import { error } from "@views/pages/error";
|
||||
import { home } from "@views/pages/home";
|
||||
import { login } from "@views/pages/login";
|
||||
|
||||
import type { Component } from "solid-js";
|
||||
|
||||
const app: Component = () => (
|
||||
<>
|
||||
<Route path="/" component={home} />
|
||||
<Route path="/login" component={login} />
|
||||
<Route path="/about" component={about} />
|
||||
<Route path="*" component={error} />
|
||||
</>
|
||||
);
|
||||
|
||||
export { app };
|
Loading…
Add table
Add a link
Reference in a new issue