Introduction
avedon is a TypeScript-first full-stack web framework for building apps with colocated UI, styles, and server logic.
What you get
.avecomponents — template, scoped styles, client script, and server script in one file- Explicit routing — declare paths in
routes.tswith layouts, guards, and per-route render mode - Hybrid rendering — choose
ssr,ssg, orcsrper route (defaultssr) - Colocated data —
load, formactions, andapi_*handlers next to the page - Reactive client runtime —
signal,computed, andeffectfrom@avedon/runtime - Node production —
@avedon/adapter-nodeviaavedon buildandavedon start
Who this is for
You are building an application. Scaffold with pnpm create avedon-app, then grow routes and pages in that project. You do not need to clone or compile the avedon monorepo.
Mental model
- Declare routes in
src/routes.ts. - Implement each page as a
.avefile. - Put request-only work in
<script server>; put interactive UI in<script>+<template>. - Pick a render mode per route.
- Deploy with the Node adapter.
See also
- Quick start — create your first app
- Tutorial — build a small end-to-end example
- Project structure — what the scaffold contains