Add example of server and client validation for React

This commit is contained in:
SteveSandersonMS
2015-12-15 12:47:52 +00:00
parent ef7e136f6e
commit 39f7f1649f
8 changed files with 113 additions and 3 deletions

View File

@@ -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>
}

View File

@@ -6,7 +6,9 @@
<link rel="stylesheet" href="/main.css" />
</head>
<body>
@RenderBody()
<div class="container">
@RenderBody()
</div>
@RenderSection("scripts", required: false)
</body>
</html>