should be in the public folder if it its being created,
Sep 16, 2021
9
Level 15
How to debug JS with Chrome tools using Laravel Mix
Before installing Mix I could use Chrome tools to debug my JS. Now I can not find my JS folder. Ok, so I installed sourcemaps into my webpack.mix.js hoping this would reveal my JS folder. No luck.
Any ideas? Many thanks!
Level 12
What does your webpack.mix.js config look like?
If you go your Sources tab in Chrome devtools, on the left side you'll see a directory of top.
Inside top you should see a dir webpack:// at the bottom. Inside there will be another folder ..
Then you should see two folders, node_modules, and resources.
Inside resources is where you'll find your uncompiled javascript and css files.
Please or to participate in this conversation.