Level 80
@metriakon You should not have public_html in your URLs. That should be the public root of your application.
Hi, how to properly change path to file in mix on shared hosting? After changing public path to public_html i get:
domains/domain.eu/appname/css/pages/home2.css
but i want to get a
domains/domain.eu/public_html/css/pages/home2.css
const mix = require('laravel-mix');
mix.setPublicPath('../public_html');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applications. By default, we are compiling the CSS
| file for the application as well as bundling up all the JS files.
|
*/
mix.version(['css/pages/home2.css']);
Please or to participate in this conversation.