So I have about some javascript/jquery files that are being \"called upon\" exte
ID: 3912052 • Letter: S
Question
So I have about some javascript/jquery files that are being "called upon" externally.
Meaning every time the page loads it reaches out to the web browser to use the functions. How can I host these scripts locally, and bundle them? My end goal would be to have them in one place and call them with a @Scripts.Render. Should I just make a new folder under scripts and then make new script files, copy and paste the functions and then @Scripts.Render("~/Scripts/NewFolder") or would I call each individual script. like @Scripts.Render("~/Scripts/Scriptfile")
Explanation / Answer
Hi Sir, as per your approach that you want them to have locally under a single folder under scripts, but there a couple of disadvantages to this, let me explain you:-
Please let me know in case of any clarifications required. Thanks!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.