It's possible that the path to the public directory has changed in Laravel 10. You can try using the public_path() helper function instead of binding the path manually.
Here's an example of how you can use public_path() in your Laravel Mix configuration file:
const mix = require('laravel-mix');
mix.js('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css')
.setPublicPath('public');
In this example, setPublicPath() sets the path to the public directory. You can also use public_path() in your views or controllers to get the path to the public directory:
<img src="{{ public_path('images/logo.png') }}" alt="Logo">
This will generate the full path to the logo.png file in the public/images directory.