gewode
190
3
Mix

In Laravel mix, how to configure to process css font path in specific directory

Posted 1 month ago by gewode

Inside my Laravel project, in webpack.mix.js, I have used this:

mix.js('resources/themes/tailwind/js/app.js', 'public/themes/tailwind/js')
    .less('resources/themes/tailwind/css/app.less', 'public/themes/tailwind/css')
    .tailwind('./tailwind.config.js');

It is working fine, But the issue is that it processes the font path in public/fonts, instead I want it should be public/themes/tailwind/fonts.

Please guide, How I can configure this.

Please sign in or create an account to participate in this conversation.