- Bump `@fresh/core` to `2.3.1` - Bump `@fresh/init` to `2.3.1` - Bump `@fresh/update` to `2.3.1` - Bump `@fresh/plugin-vite` from `1.0.8` to `1.1.0` - Bump `@fresh/plugin-tailwind-v3` from `1.0.1` to `1.1.0` The plugin packages were not published during the 2.3.0 release despite having significant changes merged. Notable fixes in `@fresh/plugin-vite` include immutable caching for Vite-built assets (#3761), CSS modules in layouts (#3764), and multiple `staticDir` support (#3759). Also updates `FRESH_VITE_PLUGIN` version constant in `@fresh/init` so new projects scaffold with the correct plugin version. Closes #3784
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.
Usage
Generate a new Fresh project with @fresh/init:
deno run -Ar jsr:@fresh/init
Add middleware, routes, & endpoints as needed via the routes/ folder or
directly on the App instance.
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.