Last active
March 5, 2019 07:51
-
-
Save seangwright/0a3bd88bdb1bad629fcde52cea80c5d7 to your computer and use it in GitHub Desktop.
ken120-mvc-vuejs-_Layout.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>@ViewBag.Title</title> | |
<link rel="stylesheet" | |
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" | |
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" | |
crossorigin="anonymous"> | |
@RenderSection("styles", required: false) | |
</head> | |
<body> | |
<div class="container-fluid"> | |
@RenderBody() | |
</div> | |
@if (Context.Kentico().PageBuilder().EditMode) | |
{ | |
if (ConfigurationHelper.IsReleaseBuild()) | |
{ | |
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.7/dist/vue.min.js"></script> | |
} | |
else | |
{ | |
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.7/dist/vue.js"></script> | |
} | |
} | |
@Scripts.Render("~/bundles/jquery") | |
@Scripts.Render("~/bundles/jquery-unobtrusive-ajax") | |
@Scripts.Render("~/bundles/jquery-validation") | |
@RenderSection("scripts", required: false) | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment