The framework so simple, you already know it.
Documentation | Getting started | API Reference
Fresh is a next generation web framework, built for speed, reliability, and simplicity.
Some stand-out features:
The documentation is available on usefresh.dev.
Install the latest Deno CLI version.
You can scaffold a new project by running the Fresh init script. To scaffold a project run the following:
deno run -Ar jsr:@fresh/initThen navigate to the newly created project folder:
cd fresh-projectFrom within your project folder, start the development server using the
deno task command:
deno task devNow 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 Deno Deploy:
For a more in-depth getting started guide, visit the Getting Started page in the Fresh docs.
We appreciate your help! To contribute, please read our contributing guideline.
If you feel that your project would be helpful to other Fresh users, please consider putting your project on the showcase. However, websites that are just for promotional purposes may not be listed.
To take a screenshot, run the following command.
deno task screenshot [url] [your-app-name]Then add your site to showcase.json, preferably with source code on GitHub, but not required.
<a href="https://usefresh.dev">
</a><a href="https://usefresh.dev">
</a>Use the following hashtags in your social media posts that reference Fresh and as Topics in the About section of your GitHub repos that contain Fresh code. It will assure maximum visibility for your posts and code, and promote Fresh development ecosystem visibility.
Github repo Topics will not include the hash symbol.
fsRoutes mounted more than once runs every _middleware once per mount
HTML template Engine
tailwind not loaded on new project
WASM modules don't work
Dev server fails with ENOENT errors when optimizeDeps enabled in Vite config
error: JSR package manifest for '@fresh/update' failed to load. Import 'https://jsr.io/@fresh/update/meta.json' failed: 403 Forbidden
Vite query`?raw` is ignored when an svg asset is imported via deno.json import map aliases
Fresh JSX bug? Component children not passed to parent as array
Suggestion: more built-in tools while keeping Fresh simple
Confusing Documentation on Fresh Websocket