Update BlazorStandalone template content to new APIs
This commit is contained in:
parent
2d2b1d335e
commit
9f34048633
|
|
@ -2,5 +2,5 @@
|
|||
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.
|
||||
-->
|
||||
<c:Router AppAssembly=@(typeof(Program).Assembly)
|
||||
PagesNamespace=@("BlazorStandalone.CSharp.Pages") />
|
||||
<Router AppAssembly=typeof(Program).Assembly
|
||||
PagesNamespace="BlazorStandalone.CSharp.Pages" />
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@(Layout<MainLayout>())
|
||||
@layout MainLayout
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@(Implements<ILayoutComponent>())
|
||||
@implements ILayoutComponent
|
||||
|
||||
<div class='container-fluid'>
|
||||
<div class='row'>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
<div class='navbar-collapse collapse'>
|
||||
<ul class='nav navbar-nav'>
|
||||
<li>
|
||||
<!-- The 'c:' prefix and parens are workarounds for a Razor compilation issue and will be removed soon. -->
|
||||
<c:NavLink href=@("/")>
|
||||
<span class='glyphicon glyphicon-home'></span> Home
|
||||
</c:NavLink>
|
||||
|
|
|
|||
Loading…
Reference in New Issue