定制 justinbyrne/a-bunch-of-livewire-components 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

justinbyrne/a-bunch-of-livewire-components

Composer 安装命令:

composer require justinbyrne/a-bunch-of-livewire-components

包简介

As the title suggests it, this is a bunch of Livewire components that can be reused in any Laravel app.

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

As the title suggests it, this is a bunch of Livewire components that can be reused in any Laravel app.

Requirements

  • Laravel 9.x
  • Tailwind CSS
  • Tailwind CSS Forms plugin
  • Alpine.js

Installation

You can install the package via composer:

composer require justinbyrne/a-bunch-of-livewire-components

You can publish the config file with:

php artisan vendor:publish --tag="a-bunch-of-livewire-components-config"

The tailwind config will either need the vendor dir config file added of the published one.

// tailwind.config.js
module.exports = {
  content: {
    "./vendor/justinbyrne/a-bunch-of-livewire-components/config/a-bunch-of-livewire-components.php",
    // ...
  },
}

Components

Autocomplete

@livewire('abolc-autocomplete', ['model' => 'App\Models\User'])
parameter Value type default
model model class e.g. App\Models\User null
name form input name parameter vaule e.g. user_id null
display the value from the model to display name
value the value from the model to save id
label the input box label text Search

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-31