Modals and JS functionalities do not work after compiling with npm run dev


I have a problem with my JS modals and functionalities of my web application. In summary my code in webpack.mix.js is the following:


Then when executing the npm terminal run dev the files are generated: app.js and all.css.

I include them all.css in the head and app.js at the end of the body.

When checking the changes, they load the styles but the JS functionalities do not, the modals do not work, the menu does not fold, among others.

I recently modified the variables of the system to be able to include node to my project, but I do not know if while doing so I modified something that I should not.

Please, I need your knowledge to help me ... thank you very much

asked by roberthung 10.11.2018 в 15:10

0 answers