laravel-users icon indicating copy to clipboard operation
laravel-users copied to clipboard

appJsPublicFile value suggestion for Laravel 9 \ Vite

Open cameronjohnson-mz opened this issue 2 years ago • 0 comments

This appears to be working with Laravel 9, but do you have any suggestions what that value should for appjsPublicFile and appcssPublicFile since we should be using Laravel Vite instead of Laravel Mix going forward?

My CSS and JS files are bundled here now:

/public/build/assets/app-238453fd.css /public/build/assets/app-d35ea772.js

    'enableAppCss'                  => true,
    'appCssPublicFile'              => 'css/app.css',

    'enableBootstrapJsCdn'          => true,
    'bootstrapJsCdn'                => 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js',

    'enableAppJs'                   => true,
    'appJsPublicFile'               => 'js/app.js',

Also, composer says this dependency laravelcollective/html is abandoned and should avoid using it. They suggest using spatie/laravel-html instead.

Can this be updated too?

cameronjohnson-mz avatar May 24 '23 19:05 cameronjohnson-mz