docs: finish up concepts docs (#292)

This commit is contained in:
Luca Casonato
2022-06-28 15:47:56 +02:00
committed by GitHub
parent 27b67b47e1
commit 4d5f7a38c0
6 changed files with 130 additions and 6 deletions
+5
View File
@@ -1,3 +1,8 @@
---
description: |
Routes are the basic building block of fresh applications. They are used to define the behaviour the application when a given path is requested.
---
At their core, routes describe how a request for a given path should be handled,
and what the response should be. To do this, routes have two main parts: the
handler, and the component. A route can have either one, or both, but never