Skip to content

Instantly share code, notes, and snippets.

@squadwuschel
Created August 27, 2016 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save squadwuschel/f2405eff839e1fce76c3e2161fd633e5 to your computer and use it in GitHub Desktop.
Save squadwuschel/f2405eff839e1fce76c3e2161fd633e5 to your computer and use it in GitHub Desktop.
React Hello World Layout.cshtml
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Meine ASP.NET-Anwendung</title>
@Styles.Render("~/Content/css")
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>@Html.ActionLink("Startseite", "Index", "Home")</li>
</ul>
</div>
</div>
</div>
<div class="container body-content">
@RenderBody()
<div class="jumbotron">
<h1>ASP.NET</h1>
<div id="example"></div>
<div id="helloWorld"></div>
</div>
<hr />
</div>
@Scripts.Render("~/bundles/libraries")
@Scripts.Render("~/bundles/app")
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment