Citric™, the "blazing fast" 🐌 and "bleeding edge" 🤡 Fresh ROM hack fork
that you don't need, unless you are an edgy 16yo developer or you simply want:
.island.{tsx|ts|jsx|js}
.The real question is: why not?
The documentation is the same as Fresh docs, but with some differences:
+page.{tsx|ts|jsx|js}
files, same for special page components like
_{app|404|500}.{tsx|ts|jsx|js}
-> +{app|404|500}.{tsx|ts|jsx|js}
or
/foo/_middleware.ts
-> /foo/+middleware.ts
, for example. Now is
possible to have layouts and nested layouts like SvelteKit with files like
/+layout.{tsx|ts|jsx|js}
.Install Deno CLI version 1.25.0 or higher.
You can scaffold a new project by running the Fresh init script. To scaffold a
project in the deno-citric-demo
folder, run the following:
deno run -A -r https://citric.deno.dev deno-citric-demo
Then navigate to the newly created project folder:
cd deno-citric-demo
From within your project folder, start the development server using the
deno task
command:
deno task start
Now open http://localhost:8000 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:
main.ts
file in the root of the created repository.For a more in-depth getting started guide, visit the Getting Started page in the Fresh docs.