Files
sweet/packages/fresh/README.md
T
Bartek IwańczukandClaude Opus 4.6 3a51f82da6 fix: use deno run for init instead of deno create before 2.3.0 (#3746)
## Summary
- Reverts all references from `deno create @fresh/init` back to `deno
run -Ar jsr:@fresh/init` across docs, READMEs, homepage, and CLI help
text
- Removes the deprecation warning in `packages/init/src/mod.ts` that
told users to switch to `deno create`

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 09:19:14 +02:00

32 lines
761 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Fresh
Fresh is a small, fast and extensible full stack web framework built on Web
Standards. It’s designed for building high-quality, performant, and personalized
web applications.
[Learn more about Fresh](https://fresh.deno.dev/)
## Usage
Generate a new Fresh project with `@fresh/init`:
```sh
deno run -Ar jsr:@fresh/init
```
Add middleware, routes, & endpoints as needed via the `routes/` folder or
directly on the `App` instance.
```tsx
import { App } from "fresh";
const app = new App()
.get("/", () => new Response("hello world"))
.get("/jsx", (ctx) => ctx.render(<h1>render JSX!</h1>));
app.listen();
```
For more information on getting started with Fresh, head on over to the
[documentation](https://fresh.deno.dev/docs/introduction).