Info
Version: | 1.0.0 |
Author(s): | Tomasz Margacz |
Last Update: | Sunday, December 17, 2017 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/DotNet.ScriptVersion |
Install
Install-Package DotNet.ScriptVersion
dotnet add package DotNet.ScriptVersion
paket add DotNet.ScriptVersion
DotNet.ScriptVersion Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNet.Mvc(>= 5.2.3)
Tags
How to use:
Example bundles:
Use: @Html.RenderJs("/bundles/scripts") instead @Scripts.Render("/bundles/scripts")
Use: @Html.RenderCss("/Content/css") instead @Styles.Render("/Content/css")
Example single file:
Use: @Html.RenderJs("/Content/global.js") instead <script type="text/javascript" src="/Content/global.js"></script>
Use: @Html.RenderCss("/Content/style.css") instead <link rel="stylesheet" href="/Content/style.css" />.