Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appJsPublicFile value suggestion for Laravel 9 \ Vite #85

Open
cameronjohnson-mz opened this issue May 24, 2023 · 0 comments
Open

appJsPublicFile value suggestion for Laravel 9 \ Vite #85

cameronjohnson-mz opened this issue May 24, 2023 · 0 comments

Comments

@cameronjohnson-mz
Copy link

cameronjohnson-mz commented May 24, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant