Mvc
Mvc copied to clipboard
javascript in view folder (each view have one javascript) ASP.NET Core MVC 6
ASP.NET Core MVC 6 How to manage js file for each view. I have view specific javascript file and i dont want to place js file in script folder coz three are more than 100 views in my project. Is there any idea to place js file with views in view folder? or any idea ?
I prefer different project structure instead of default ASP.NET MVC app. There is an Jimmy Bogard article and video. I'm simplified this a lot, you can find high-level ideas here.
I'm in same boat as you are. But the provided links doesn't say how for "each view have one javascript". :-/