crankd/laravel-heroicons

这将创建一个基本的 CRUD 示例

dev-main 2024-06-04 00:21 UTC

This package is auto-updated.

Last update: 2024-09-04 00:48:35 UTC


README

安装

composer require crankd/laravel-heroicons

php artisan vendor:publish

php artisan vendor:publish --tag=heroicons-config

示例

<x-heroicon::icon type="outline" icon="check" class="w-6 h-6" />

设置助手

php artisan vendor:publish --tag=heroicons-helper

助手位置

top-left top-right bottom-left bottom-right

<x-heroicon-helper::helper position="bottom-right" />

<script src="{{ asset('crankd/laravel-heroicons/helper.js') }}"></script>