Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@{
ViewData["Title"] = "Home Page";
}
<div aurelia-app="main">Loading...</div>
@section scripts {
<environment names="Development">
<script type="text/javascript" asp-src-include="~/dist/vendor.*.js" asp-append-version="true"></script>
<script type="text/javascript" src="~/dist/app.bundle.js" asp-append-version="true"></script>
</environment>
<environment names="Production">
<script type="text/javascript" asp-src-include="~/dist/common.*.bundle.js" asp-append-version="true"></script>
</environment>
<environment names="Staging, Production">
<script type="text/javascript" asp-src-include="~/dist/vendor.*.bundle.js" asp-append-version="true"></script>
<script type="text/javascript" asp-src-include="~/dist/app.*.bundle.js" asp-append-version="true"></script>
</environment>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.