($&quot;Couldn't infer @page for component {typeof(T).Name}&quot;);

        var fileName = route.EndsWith(&quot;/&quot;) ? route + &quot;index.html&quot; : $&quot;{route}.html&quot;;

        var writeTo = Path.GetFullPath(PrerenderDir.CombineWith(fileName));
        WriteLine($&quot;Written to {writeTo}&quot;);
        File.WriteAllText(writeTo, component.Markup);
    }

    [Test]
    public void PrerenderPages()
    {
        Render&lt;Client.Pages.Index&gt;();
        // Add Pages to prere