mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-25 12:52:47 -07:00
35 lines
733 B
Markdown
35 lines
733 B
Markdown
<p align="center">
|
|
<img src="https://raw.githubusercontent.com/Valerioageno/tuono/main/assets/logo.png">
|
|
</p>
|
|
<h1 align="center">Tuono<br>The react/rust fullstack framework</h1>
|
|
|
|
Tuono (Italian word for "thunder", pronounced /2 Oh No/).
|
|
Why Tuono? Just a badass name.
|
|
|
|
> This project is under heavy development. API might drastically change!
|
|
|
|
## Features
|
|
- Rust based server side rendering
|
|
- FS routing
|
|
- CSS modules
|
|
|
|
## Folder structure
|
|
|
|
```
|
|
- .tuono
|
|
- public/
|
|
- src/
|
|
| - routes/
|
|
| | - api/
|
|
```
|
|
|
|
```tsx
|
|
// Data is passed by the loading function
|
|
const IndexPage = ({data, isLoading, isError}) => <h1>Index Page</h1>
|
|
|
|
export const Route = createFileRoute({
|
|
loader: (params) => fetchApi(params),
|
|
component: IndexPage
|
|
})
|
|
```
|