From d822c3d9d5e5f6498ccc839b4821d1951e8bf865 Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Fri, 10 Sep 2021 06:49:25 +0800 Subject: [PATCH] Add hot reloading screenshot --- src/wwwroot/docs/hot-reloading.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/wwwroot/docs/hot-reloading.html b/src/wwwroot/docs/hot-reloading.html index 5ea2679..3fea3dd 100644 --- a/src/wwwroot/docs/hot-reloading.html +++ b/src/wwwroot/docs/hot-reloading.html @@ -4,7 +4,7 @@ -->

- #Script has a simple, but effective configuration-free hot-reloading feature built-in that's enabled + #Script has a simple, but effective configuration-free hot-reloading feature built-in that's enabled when registering the SharpPagesFeature plugin:

@@ -55,4 +55,11 @@

Implementation

statically referenced, i.e. the typical case of using a string literal for the file name as opposed to a dynamically creating it.

+

Preview

+ +

If enabled and working correctly hot reloading should allow you to view instant UI changes on save:

+ + + + {{ "doc-links" |> partial({ order }) }}