kometsoft/laravel-ui

This package is abandoned and no longer maintained. No replacement package was suggested.

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

v1.0.2 2023-07-20 09:05 UTC

This package is auto-updated.

Last update: 2023-08-31 04:35:52 UTC


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

  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.