title: jQuery & Bootstrap in ASP.NET Core project
body: <p>I messed up my configuration of bootstrap and jquery inside my project and now these tools won't load properly.</p>
  
  <p>What is happening is that bootstrap is loading before jquery and so, I get the following error messages when I check the console and the network options inside the browser:</p>
  
  <p><strong>Console</strong></p>
  
  <p><a href="https://i.stack.imgur.com/EJ0v4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EJ0v4.png" alt="enter image description here"></a></p>
  
  <p><strong>Network</strong></p>
  
  <p><a href="https://i.stack.imgur.com/cwLU8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cwLU8.png" alt="enter image description here"></a></p>
  
  <p><strong>Important mention:</strong> Inside my project I (almost) never declare the source of javascript inside a view, either for bootstrap or jquery. This because, at least in ASP.Net, it appears to be a "framework", to call it someway, that loads these for the entire project, and so, I only declare particular javascript files that I personally add.</p>
  
  <p>I'm deducting that the file in charge of loading JQuery and bootstrap is _Layout.cshtml</p>
  
  <p><a href="https://i.stack.imgur.com/7A3yL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7A3yL.png" alt="enter image description here"></a></p>
  
  <p><strong>Problem:</strong> What I'm trying to do is to make jquery and bootstrap to work again in my project. If the solutions is to make jquery load before bootstrap, I don't really know where to make the change. I believe it might be inside _Layout.cshtml but for the look of it, Jquery is been declared before bootstrap, so I don't know where to make the change.</p>
  
  <p>I thank beforehand to anyone who can give me an idea on how to do this!</p>
  
  <p>Thanks</p>