etiennebel/livewire-buttons
最新稳定版本:v1.0.4
Composer 安装命令:
composer require etiennebel/livewire-buttons
包简介
A Livewire Button component with Tailwind CSS
README 文档
README
A beautiful and customizable button component for Laravel Livewire applications.
Installation
You can install the package via composer:
composer require your-vendor/livewire-buttons
Usage
<livewire:button
label="Click Me"
variant="primary"
size="md"
icon="fas fa-save"
/>
Available Options
label- Button textvariant- primary, secondary, success, danger, warningsize- sm, md, lgicon- Any Font Awesome icon classloading- Boolean for loading statedisabled- Boolean for disabled state
Testing
composer test
Contributing
Please see CONTRIBUTING.md for details.
Pprocess of creating and publishing the package to Packagist
- Ensure your package has a
composer.jsonfile with the necessary metadata. - Push your code to GitHub if you haven't already.
- Go to Packagist and log in.
- Click on "Submit" and provide the URL to your GitHub repository.
- Click "Check" and then "Submit".
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-22