Skip to content Skip to sidebar Skip to footer

@render.scripts In Plain .html File - Not In .cshtml

I'm wondering - is it possible to add something like @Scripts.Render('~/bundles/jquery') in plain .html file (not the .cshtml file)

Solution 1:

Yes, it is, you can use:

<scriptsrc="/Scripts/jquery1.js"></script><scriptsrc="/Scripts/jquery2.js"></script><scriptsrc="/Scripts/jquery3.js"></script>

Where jquery1.js, jquery2.js, jquery3.js are the files of the jquery bundle...

Post a Comment for "@render.scripts In Plain .html File - Not In .cshtml"