etiennebel/livewire-buttons 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 text
  • variant - primary, secondary, success, danger, warning
  • size - sm, md, lg
  • icon - Any Font Awesome icon class
  • loading - Boolean for loading state
  • disabled - Boolean for disabled state

Testing

composer test

Contributing

Please see CONTRIBUTING.md for details.

Pprocess of creating and publishing the package to Packagist

  1. Ensure your package has a composer.json file with the necessary metadata.
  2. Push your code to GitHub if you haven't already.
  3. Go to Packagist and log in.
  4. Click on "Submit" and provide the URL to your GitHub repository.
  5. Click "Check" and then "Submit".

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-22