Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
/ laravel-ui Public archive

A Laravel package that install UI kits 💄

License

Notifications You must be signed in to change notification settings

kometsoft/laravel-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel UI

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

  1. Publish assets
php artisan vendor:publish --tag=ui-assets
  1. 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

  1. Update the composer package
composer update kometsoft/laravel-ui
  1. Force publish ui:assets tag
php artisan vendor:publish --tag=ui-assets --force
  1. (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.