diff options
Diffstat (limited to 'src/DevHive.Blazor/Pages/_Host.cshtml')
| -rw-r--r-- | src/DevHive.Blazor/Pages/_Host.cshtml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/DevHive.Blazor/Pages/_Host.cshtml b/src/DevHive.Blazor/Pages/_Host.cshtml new file mode 100644 index 0000000..9c03a62 --- /dev/null +++ b/src/DevHive.Blazor/Pages/_Host.cshtml @@ -0,0 +1,35 @@ +@page "/"
+@namespace DevHive.Blazor.Pages
+@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
+@{
+ Layout = null;
+}
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>DevHive.Blazor</title>
+ <base href="~/" />
+ <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
+ <link href="css/site.css" rel="stylesheet" />
+ <link href="DevHive.Blazor.styles.css" rel="stylesheet" />
+</head>
+<body>
+ <component type="typeof(App)" render-mode="ServerPrerendered" />
+
+ <div id="blazor-error-ui">
+ <environment include="Staging,Production">
+ An error has occurred. This application may no longer respond until reloaded.
+ </environment>
+ <environment include="Development">
+ An unhandled exception has occurred. See browser dev tools for details.
+ </environment>
+ <a href="" class="reload">Reload</a>
+ <a class="dismiss">🗙</a>
+ </div>
+
+ <script src="_framework/blazor.server.js"></script>
+</body>
+</html>
|
