Answer the question
In order to leave comments, you need to log in
How to change folder where Laravel Mix uploads?
By default, the assembly happens in the public folder .
Tell me how to change it to public_html .
I change the settings in webpack.mix.js, but a subfolder is created inside public: /public/_html/
mix.js('resources/source/app.js', 'public_html/assets/app.js');
mix.js('resources/source/app.js', '/public_html/assets/app.js');
Answer the question
In order to leave comments, you need to log in
I guess you need to change the output option in the webpack config https://laravel-mix.com/docs/5.0/quick-webpack-con...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question