I am new in asp.net mvc and I am trying to include .js files in my project but I could not access it on my browser. Like it.
@Scripts.Render("~/bundles/responds.js")
@Scripts.Render("~/bundles/jquery-1.11.3.min.js")
@Scripts.Render("~/bundles/jssor.slider-22.0.15.mini.js")
<script type="text/javascript">
</script>
Anyone can help me, how can I add these files in mvc project? These files exists in Scripts folder.
App_Startwhich will have a file namedBundleConfig.cs. Check in there whether you've got the appropriate bundles set. for example@Scripts.Render("~/bundles/responds.js")would bebundles.Add(new ScriptBundle("~/bundles/bootstrap").Include("~/Scripts/respond.js"));inBundleConfig.csfile