I am encountering an issue with the configuration of bootstrap and jquery within my project, causing these tools to fail to load properly.
The problem seems to be that bootstrap is loading before jquery, resulting in error messages appearing when I check the console and network options in my browser:
Console
https://i.stack.imgur.com/EJ0v4.png
Network
https://i.stack.imgur.com/cwLU8.png
Important note: In my project, I rarely specify the source of javascript within a view for bootstrap or jquery. This is because, especially in ASP.Net, it seems to be a framework that handles the loading of these resources for the entire project. Therefore, I only include specific javascript files that I personally add.
From my observation, I suspect that the file responsible for loading JQuery and bootstrap is _Layout.cshtml
https://i.stack.imgur.com/7A3yL.png
Issue: My goal is to get jquery and bootstrap functioning correctly in my project again. If the solution involves loading jquery before bootstrap, I am unsure where to make this change. It appears that jquery is declared before bootstrap in _Layout.cshtml, so I am uncertain how to proceed.
I greatly appreciate any guidance on resolving this problem!
Thank you