From bff711411d276945919ead47ab6387fc1dcd8fc5 Mon Sep 17 00:00:00 2001 From: Jade Date: Sat, 27 Sep 2025 18:58:34 +0300 Subject: [PATCH] docs: update readme for fresh 2 (#3503) The current version of the README is misleading, because: 1. The build instructions result in a Fresh v1.0 project. 2. Since Fresh v2.0, Fresh no longer does JIT rendering on the edge. --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e52dcfae..e40cbc17 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ simplicity. Some stand-out features: -- Just-in-time rendering on the edge. - Island based client hydration for maximum interactivity. - Zero runtime overhead: no JS is shipped to the client by default. - No configuration necessary. @@ -30,23 +29,23 @@ You can scaffold a new project by running the Fresh init script. To scaffold a project run the following: ```sh -deno run -A -r https://fresh.deno.dev +deno run -Ar jsr:@fresh/init ``` Then navigate to the newly created project folder: ``` -cd deno-fresh-demo +cd fresh-project ``` From within your project folder, start the development server using the `deno task` command: ``` -deno task start +deno task dev ``` -Now open http://localhost:8000 in your browser to view the page. You make +Now open http://localhost:5173 in your browser to view the page. You make changes to the project source code and see them reflected in your browser. To deploy the project to the live internet, you can use