forked from jakub/dotnettest
Initial Blazor Server Drone demo
This commit is contained in:
23
MyBlazorApp/Pages/_Host.cshtml
Normal file
23
MyBlazorApp/Pages/_Host.cshtml
Normal file
@@ -0,0 +1,23 @@
|
||||
@page "/"
|
||||
@namespace MyBlazorApp.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>Hello Blazor</title>
|
||||
<base href="~/" />
|
||||
</head>
|
||||
<body>
|
||||
<app>
|
||||
<component type="typeof(App)" render-mode="ServerPrerendered" />
|
||||
</app>
|
||||
<script src="_framework/blazor.server.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user