mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Add example of server and client validation for React
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div id="react-app" asp-react-prerender-module="ReactApp/components/ReactApp.jsx"></div>
|
||||
|
||||
@section scripts {
|
||||
<script src="bundle.js"></script>
|
||||
<script src="/bundle.js"></script>
|
||||
}
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
<link rel="stylesheet" href="/main.css" />
|
||||
</head>
|
||||
<body>
|
||||
@RenderBody()
|
||||
<div class="container">
|
||||
@RenderBody()
|
||||
</div>
|
||||
@RenderSection("scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user