satotake f7cc2db225 fix: generate favicon.ico in init script (#278)
Browsers try to get `/favicon.ico` by default. This request enters `[name].tsx`
and returns greet unexpectedly.

To fix this, the favicon is now fetched from `https://fresh.deno.dev` and
saved into the `static` folder in the init script.
2022-06-23 14:38:57 +02:00
2022-06-23 09:32:06 +00:00
2022-06-22 12:03:04 +02:00
2022-04-24 13:12:38 +02:00
2021-05-07 16:42:27 +02:00
2022-06-22 15:23:36 +02:00
2021-05-08 02:07:24 +02:00
2022-06-22 15:16:26 +02:00

⚠️ Not yet 1.0. Many things are subject to change. Documentation is lacking in many places. Try it out and give us feedback!

fresh

the fresh logo: a sliced lemon dripping with juice

The next-gen web framework.

Fresh is a web framework that lets you build projects very fast, highly dynamic, and without the need of a build step. Fresh embraces isomorphic JavaScript like never before. Write a JSX component, have it render on the edge just-in-time, and then enhance it with client side JS for great interactivity.

Fresh does not have a build step - you write your code, deploy it to Deno Deploy, and from there everything is handled by the framework.

  • No build step
  • Zero config necessary
  • JIT rendering on the edge
  • Tiny (example is 0-3KB of runtime JS)1
  • Optional client side hydration
  • TypeScript out of the box
  • File-system routing à la Next.js

Documentation

The documentation is available on fresh.deno.dev.

Getting started

You can scaffold a new project by running the Fresh init script. To scaffold a project in the myproject folder, run the following:

deno run -A -r https://fresh.deno.dev my-project

To now start the project, use deno task:

deno task start

To deploy the script to Deno Deploy, push your project to GitHub, create a Fresh project, and link it to main.ts file in the created repository.

For a more in-depth getting started guide, visit the Getting Started page in the Fresh docs.

S
Description
No description provided
Readme MIT
44 MiB
Languages
TypeScript 96.7%
CSS 3.2%