Re-add server-side prerendering to Angular2 template

This commit is contained in:
SteveSandersonMS
2016-03-01 15:41:07 +00:00
parent 444475ef16
commit 8a5dbf7a05
2 changed files with 18 additions and 1 deletions

View File

@@ -2,7 +2,8 @@
ViewData["Title"] = "Home Page";
}
<app>Loading...</app>
<app asp-prerender-module="ClientApp/boot-server"
asp-prerender-webpack-config="webpack.config.js">Loading...</app>
<script src="~/dist/vendor.js" asp-append-version="true"></script>
@section scripts {