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"
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"