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
|
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 AppAssembly=@(typeof(Program).Assembly)
|
<Router AppAssembly=typeof(Program).Assembly
|
||||||
PagesNamespace=@("BlazorStandalone.CSharp.Pages") />
|
PagesNamespace="BlazorStandalone.CSharp.Pages" />
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
@(Layout<MainLayout>())
|
@layout MainLayout
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
@(Implements<ILayoutComponent>())
|
@implements ILayoutComponent
|
||||||
|
|
||||||
<div class='container-fluid'>
|
<div class='container-fluid'>
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue