ASP.NET ZERO Project ASP.NET CORE MVC & jQuery .NET Core 3.1 v9.1.0
Changes in javascript not working
Hello,
I used the asp.net zero tool for creating controllers/models/views in the MVC project. I want to change the sequence of the columns of the listview. When I change the index.js file , it seems that changes are not used when running the project. \wwwroot\view-resources\Areas\App\Views\Person\Index.js When I open the js file with F12 in the chrome browser. I still see the old javascript file without the changes done in visual studio. What I'm doing wrong ?
Kind regards, Frederick
1 Answer(s)
-
0
Hi @devloo
You need to run "npm run create-bundles" command in the root directory of the MVC project. When you run this, don't stop it during your development. It updates bundles when you modify the files right away.
Can you try like that ?
Thanks,