joe.szeto/skeleton-loading

There is no license information available for the latest version (dev-master) of this package.

dev-master 2024-10-04 07:45 UTC

This package is auto-updated.

Last update: 2024-12-04 08:14:28 UTC


README

install

composer require joe.szeto/skeleton-loading

tailwindcss

in tailwind.config.js

/** @type {import('tailwindcss').Config} */
export default {
    content: [
        ...
        "./vendor/joe.szeto/skeleton-loading/resources/views/**/*.blade.php",
    ],
    theme: {
        extend: {},
    },
    plugins: [],
}

Service Provider

in providers.php ( laravel 11 ), in app.php ( laravel 10 ) add JoeSzeto\SkeletonLoading\SkeletonServiceProvider::class

usage

<x-skeleton-loading pattern="abab|abba|aaab" />