npm list --depth=0)i tried running the copy command its not working and when i saw in the node_moudels/laravel-mix/setup
there is on webpack.config.js
not the webpack.mix.js
npm install laravel-mix --save-dev
cp node_modules/laravel-mix/setup/webpack.mix.js ./
Hi @ParveenMalethia
from the latest version you have to create the webpack.mix.js manually
The documentation is still for version 5.0, but npm is already distributing version 6. At the top right of the documentation you can change it to version 6 and then everything is correct again.
Hope I could help you :)
creating it manually works but then the whole file is empty all way. What to do about that. there's no code to work on!
creating it manually works but then the whole file is empty all way. What to do about that. there's no code to work on!
hi @AjeyataVerma
In the documentation you can switch from version 5 to version 6 in the upper right corner, everything is described there.
Since there are changes in version 6, it is quite good to read the documentation at https://laravel-mix.com/docs/6.0/installation