Commit Graph
20 Commits
Author SHA1 Message Date
Reed von Redwitz f737e1c4e3 www: cleanup miscellaneous doc items (#1419) 2023-07-07 16:07:40 +02:00
Marvin Hagemeister 16be99e69b fix: change MultiHandler back to Handlers (#1396) 2023-07-03 09:57:46 +02:00
Reed von Redwitz 4de9394547 docs: add "Sharing state between islands" example (#1311) 2023-06-28 22:17:16 +02:00
Reed von Redwitz db357973ab docs: add "Rendering markdown" example (#1307) 2023-06-28 15:16:14 +02:00
Reed von Redwitz 86dcfcc0ca docs: add "Handling complex routes" example (#1365) 2023-06-28 12:55:03 +00:00
Aushwin 851f8d60aa refactor: changed Handlers type to MultiHandler (#1360) 2023-06-28 12:52:48 +00:00
Reed von Redwitz ee3e4a1145 docs: add "Creating a CRUD API" example (#1361)
closes https://github.com/denoland/fresh/issues/768
supersedes https://github.com/denoland/fresh/pull/853

I'm not sure if this is what Ryan had in mind when opened 768. But this
PR includes some working code, references Deno KV, and briefly touches
on `OPTIONS` as a bonus.

Should I link to https://deno.com/blog/build-crud-api-oak-denokv where I
borrowed some code from? I must admit I'm a bit confused about why Andy
chose to write about Oak instead of Fresh in this post...
2023-06-27 09:18:49 +02:00
Reed von Redwitz 0c187c145a docs: add "Dealing with CORS" example (#1347) 2023-06-24 11:10:12 +00:00
Marvin Hagemeister 87b15885aa feat(starter): add 404 page template (#1336) 2023-06-21 11:01:48 +02:00
Lino Le VanandLuca Casonato 83925cc1e3 docs(examples): Using twind v1 + fix md code syntax highlighting (#1271)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2023-06-17 19:16:12 +02:00
Reed von Redwitz 7deda2a7dd docs: add "Using Fresh canary version" example (#1306) 2023-06-16 17:13:16 +02:00
Reed von RedwitzandAsher Gomez 12fc103daa docs: add "initializing the server" example (#1292)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-16 10:33:54 +02:00
kit 0bc769053e fix(www): incorrect path on examples docs page (#1299) 2023-06-15 21:16:13 +02:00
Reed von RedwitzandAsher Gomez 673ed2d90f docs: add "Changing the source directory" example (#1286)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-15 11:37:41 +02:00
Asher Gomez adc16c5c29 docs: fix "Writing Tests" example title typo (#1288)
To align the casing with the rest of the documentation titles.
2023-06-14 14:57:37 +02:00
Octo8080XandAsher Gomez ac32c2deb6 docs: add "Writing Tests" example (#1223)
Fixes [#1222](https://github.com/denoland/fresh/issues/1222)


Add example implementation and documentation of test code using
`createHandler()` newly added by
[#622](https://github.com/denoland/fresh/pull/622)

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-13 07:37:12 +10:00
Reed von Redwitz 931031f9ce docs: add "setting the language" example (#1265) 2023-06-11 02:38:25 +09:00
Luca Casonato 96be590a90 docs: improve examples and fix app wrapper (#1244) 2023-06-03 22:20:18 +02:00
DanielXing1103andAsher Gomez 009b31f922 docs: add "Modifying the Head Element" example (#1226)
resolves #1215 by adding example on modifying ``` <Head />``` on
index.md

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-03 09:56:00 +10:00
Asher Gomezandhashrock c172a70181 docs: add new "Examples" section (#1221)
It's currently empty, but this sets up future Fresh examples.

Closes #1204
Moves towards #1211

---------

Co-authored-by: hashrock <hashrock@users.noreply.github.com>
2023-05-31 09:19:06 +10:00