mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Move React server-side rendering into more general SpaServices package
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
<div id="react-app">Loading...</div>
|
||||
<div id="react-app" asp-prerender-module="ReactApp/boot-server"></div>
|
||||
|
||||
@section scripts {
|
||||
<script src="/dist/vendor.bundle.js"></script>
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
@using MusicStore
|
||||
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
|
||||
@addTagHelper "*, Microsoft.AspNet.SpaServices"
|
||||
|
||||
Reference in New Issue
Block a user