Merge pull request #61 from chris-morgan/patch-1

Fix errors in the suggested index.html template
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2022-01-04 07:39:30 -05:00
commit f877202090
1 file changed
+3 -1
+3 -1
View File
@@ -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
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" name="viewport" content="width=device-width, initial-scale=1.0" charset="UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="main"> </div>