Update StandaloneApp

This commit is contained in:
Steve Sanderson 2018-03-06 17:26:32 -08:00
parent 601e7914f7
commit 85c515861c
3 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,6 @@
Configuring this stuff here is temporary. Later we'll move the app config Configuring this stuff here is temporary. Later we'll move the app config
into Program.cs, and it won't be necessary to specify AppAssembly. into Program.cs, and it won't be necessary to specify AppAssembly.
--> -->
<c:Router <Router
AppAssembly=@(typeof(StandaloneApp.Program).Assembly) AppAssembly=typeof(StandaloneApp.Program).Assembly
PagesNamespace=@("StandaloneApp.Pages") /> PagesNamespace="StandaloneApp.Pages" />

View File

@ -11,6 +11,7 @@
</div> </div>
</div> </div>
@functions { @functions
{
public RenderFragment Body { get; set; } public RenderFragment Body { get; set; }
} }

View File

@ -13,6 +13,7 @@
<div class='navbar-collapse collapse'> <div class='navbar-collapse collapse'>
<ul class='nav navbar-nav'> <ul class='nav navbar-nav'>
<li> <li>
<!-- The 'c:' prefix and parens are workarounds for a Razor compilation issue and will be removed soon. -->
<c:NavLink href=@("/")> <c:NavLink href=@("/")>
<span class='glyphicon glyphicon-home'></span> Home <span class='glyphicon glyphicon-home'></span> Home
</c:NavLink> </c:NavLink>