kometsoft / laravel-ui
UI kits for rapid Laravel app development
Installs: 405
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: ^7.4|^8.0
README
A package for integration of Tabler UI kits, with ready-to-use components and customization options.
Installation
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
Usage
- 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'])
Updating
- 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
Credits
License
The MIT License (MIT). Please see License File for more information.