From 0a9f862cf8a0853f0b48053fe32546e772a11f67 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Tue, 4 Jan 2022 21:55:41 +1100 Subject: [PATCH] Fix errors in the suggested index.html template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit What was there was an abomination that would not behave at all properly. The changes I’ve made are extremely conservative. Myself, I’d get rid of the , , , , and lines as superfluous, and remove the space inside the div, which I certainly hope isn’t load-bearing. --- docs/reference/src/web/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference/src/web/index.md b/docs/reference/src/web/index.md index eefa5e6d8..dd1afb3e0 100644 --- a/docs/reference/src/web/index.md +++ b/docs/reference/src/web/index.md @@ -38,9 +38,11 @@ $ cargo add dioxus --features web Add an `index.html` for Trunk to use. Make sure your "mount point" element has an ID of "main" (this can be configured later): ```html + - + +