App.razor 513 B

12345678910111213141516171819202122
  1. @using Microsoft.AspNetCore.Components.Routing
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <title>METANIT.COM</title>
  6. <meta charset="utf-8" />
  7. <base href="/" /> <!-- для работы маршрутизации-->
  8. </head>
  9. <body>
  10. <Router AppAssembly="@typeof(Program).Assembly">
  11. <Found Context="routeData">
  12. <RouteView RouteData="routeData" />
  13. </Found>
  14. <NotFound >
  15. </NotFound>
  16. </Router>
  17. <script src="_framework/blazor.web.js"></script>
  18. </body>
  19. </html>