-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Components Customization
Caution
We're currently in transition to a new online documentation at Laravel-AdminLTE Documentation. As a result of this move, the WIKI pages could be outdated in the future, so we recommend you to read the new online documentation instead.
Important
The ability to publish the components resources was introduced in version v3.13.0
.
In the particular case that you need full control or customization over the available blade components of the package, you can publish them with the next command:
php artisan adminlte:install --only=components
Now, you can edit the component views in the resources/views/vendor/adminlte/components
folder and the component classes in the app/View/Components/Adminlte
folder. To use the published version of any component you will need to follow the Laravel's dot
convention for accessing nested classes within a directory, for example, the published and customizable version of the Input Component should be used like:
<x-adminlte.form.input />
Instead of:
<x-adminlte-input />
This last one will still reference the original version of the component.
Important
If you have published the components, then these ones won't be updated automatically on a package update procedure and you will need to take care of this manually if you want a new feature of the package to be included in your set of published components.
Home | Installation | Updating | Usage | Basic Config | Layout Config | Menu Config | Plugins Config | Blade X-Components - Laravel-AdminTE