承接 lopatin96/laravel-edit 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

lopatin96/laravel-edit

最新稳定版本:1.0.0

Composer 安装命令:

composer require lopatin96/laravel-edit

包简介

Laravel edit

README 文档

README

<x-laravel-edit::edit :route="url('tasks/' . $task->uuid)">
    <x-laravel-edit::edit-row>
        <x-laravel-edit::edit-row-key>{{ __('Title') }}</x-laravel-edit::edit-row-key>
        <x-laravel-edit::edit-row-value>
            <div class="flex items-center space-x-4">
                <input
                    type="text"
                    name="title"
                    maxlength="64"
                    class="form-control block w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 rounded transition ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none"
                    placeholder="{{ __('Short task description (optional)') }}"
                    value="{{ $task->title }}"
                />
            </div>
        </x-laravel-edit::edit-row-value>
    </x-laravel-edit::edit-row>

    <div class="flex justify-end">
        <button
            type="submit"
            class="font-bold mt-6 text-green-700 bg-green-100 hover:bg-green-200 focus:ring-4 focus:outline-none focus:ring-green-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center select-none"
        >
            {{ __('Save') }}
        </button>
    </div>
</x-laravel-edit::edit>

Views

php artisan vendor:publish --tag="laravel-edit-views"

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-19