File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
projects/.net8/RazorComponentOne Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ @using System .Net .Http
2
+ @using Microsoft .AspNetCore .Components .Forms
3
+
4
+ @using Microsoft .AspNetCore .Components .Routing
5
+ @using Microsoft .JSInterop
6
+ @using Microsoft .AspNetCore .Components .Web
7
+ @using Microsoft .AspNetCore .Components .Authorization
8
+
9
+ <Router AppAssembly =" typeof(Program).Assembly" >
10
+ <Found Context =" routeData" >
11
+ <RouteView RouteData =" routeData" />
12
+ </Found >
13
+ <NotFound >
14
+ <h1 >Page not found</h1 >
15
+ <p >Sorry, but there's nothing here!</p >
16
+ </NotFound >
17
+ </Router >
Original file line number Diff line number Diff line change 9
9
<
link href =
" https://cdn.jsdelivr.net/npm/[email protected] /dist/css/bootstrap.min.css" rel =
" stylesheet" integrity =
" sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp" crossorigin =
" anonymous" >
10
10
</head >
11
11
<body >
12
+ This text is from the layout but the body is missing
13
+ <br />
12
14
@Body
13
15
</body >
14
16
</html >
You can’t perform that action at this time.
0 commit comments