Add Pages/_Host.cshtml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-05-21 13:02:29 +00:00
parent fe80d4d1c3
commit a4973a2bd0

24
Pages/_Host.cshtml Normal file
View File

@@ -0,0 +1,24 @@
@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>MyBlazorApp</title>
<base href="~/" />
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
<link href="css/site.css" rel="stylesheet" />
</head>
<body>
<app>
<component type="typeof(App)" render-mode="ServerPrerendered" />
</app>
<script src="_framework/blazor.server.js"></script>
</body>
</html>