Quantcast
Channel: Setting a startup page in Blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by Mike Brind for Setting a startup page in Blazor

$
0
0

Copy the @page directive including the route template:

@page "/"

from the Index.cshtml file to the Home.cshtml file, and then remove the Index.cshtml file, or provide a different route template to its @page directive e.g.

@page "/index"

Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>