A package for integration of Tabler UI kits, with ready-to-use components and customization options.
Install laravel/ui
package:
composer require laravel/ui
Once the laravel/ui
package has been installed, you may install the frontend scaffolding using the ui Artisan command:
php artisan ui bootstrap --auth
You can install the package via composer:
composer require kometsoft/laravel-ui
- Publish assets
php artisan vendor:publish --tag=ui-assets
- Add the
@ui
Blade directive to your main layout
Consider removing your existing Bootstrap imports. Only import what you need on the page.
@ui(['tabler-core', 'tabler-icons', 'tom-select', 'litepicker', 'apexcharts', 'alpinejs', 'datatables.net', 'jquery'])
- Update the composer package
composer update kometsoft/laravel-ui
- Force publish
ui:assets
tag
php artisan vendor:publish --tag=ui-assets --force
- (Optional) If you are using a custom tabler.min.css, make sure you override the file contents.
cp resources/css/<custom-tabler-theme> public/vendor/ui/tabler-core/css/tabler.min.css
The MIT License (MIT). Please see License File for more information.