Skip to content

v3.14.0

Compare
Choose a tag to compare
@dfsmania dfsmania released this 11 Oct 20:12
· 6 commits to master since this release
9ce9ef6

What's Changed

Full Changelog: v3.12.1...v3.14.0

Breaking Changes

Caution

The right-sidebar section was renamed to right_sidebar to keep consistency with other section names (see details on #1301). So you should update your views extending this template if you were using that section. Also, it's recommended to review and update the package published views if it's your case.

While including Vite Support the old Laravel Mix configuration was reworked. This new version would still be compatible with the old configurations options, however we recommend migrating to the new one:

Old config

    /*
    |--------------------------------------------------------------------------
    | Laravel Mix
    |--------------------------------------------------------------------------
    |
    | Here we can enable the Laravel Mix option for the admin panel.
    |
    | For detailed instructions you can look the laravel mix section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
    |
    */

    'enabled_laravel_mix' => false,
    'laravel_mix_css_path' => 'css/app.css',
    'laravel_mix_js_path' => 'js/app.js',

New config

    /*
    |--------------------------------------------------------------------------
    | Laravel Asset Bundling
    |--------------------------------------------------------------------------
    |
    | Here we can enable the Laravel Asset Bundling option for the admin panel.
    | Currently, the next modes are supported: 'mix', 'vite' and 'vite_js_only'.
    | When using 'vite_js_only', it's expected that your CSS is imported using
    | JavaScript. Typically, in your application's 'resources/js/app.js' file.
    | If you are not using any of these, leave it as 'false'.
    |
    | For detailed instructions you can look the asset bundling section here:
    | https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Other-Configuration
    |
    */

    'laravel_asset_bundling' => false,
    'laravel_css_path' => 'css/app.css',
    'laravel_js_path' => 'js/app.js',

See details on Wiki / Misc Config. Also, if you want to use the new configuration options with VITE and you had previously published the package views, then you'll need to update them.