mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Add react tag helper. Clean up code and make it more consistent.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div id="react-app">@Html.Raw(ViewData["ReactOutput"])</div>
|
||||
<div id="react-app" asp-react-prerender-module="ReactApp/components/ReactApp.jsx"></div>
|
||||
|
||||
@section scripts {
|
||||
<script src="bundle.js"></script>
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
@using ReactExample
|
||||
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
|
||||
@addTagHelper "*, Microsoft.AspNet.NodeServices.React"
|
||||
|
||||
Reference in New Issue
Block a user